Fix user_dir

rita
blallo 2021-06-22 22:55:50 +02:00
parent 452b296a5b
commit 90a23b7842
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
2 changed files with 7 additions and 6 deletions

View File

@ -6,12 +6,6 @@ let g:ale_sign_warning = '~>'
" let g:ale_sign_error = '✘'
" let g:ale_sign_warning = '⚠'
if has('nvim')
let s:user_dir = stdpath('config')
else
let s:user_dir = has('win32') ? expand('~/vimfiles') : expand('~/.vim')
endif
let g:ale_elixir_elixir_ls_release = '/usr/lib/elixir-ls/'
let g:ale_linters = {

7
vimrc
View File

@ -3,6 +3,13 @@ let s:sep = has('win32') ? '\' : '/'
" check if in tty
let g:is_tty = system('case $(tty) in (/dev/tty[0-9]) echo 1;; (*) echo 0;; esac')
" set user_dir
if has('nvim')
let s:user_dir = stdpath('config')
else
let s:user_dir = has('win32') ? expand('~/vimfiles') : expand('~/.vim')
endif
""" Set python3 path
let g:python3_host_prog = "/usr/bin/python"
let g:python_host_prog='/usr/bin/python'