Fix user_dir
This commit is contained in:
parent
452b296a5b
commit
90a23b7842
|
@ -6,12 +6,6 @@ let g:ale_sign_warning = '~>'
|
||||||
" let g:ale_sign_error = '✘'
|
" let g:ale_sign_error = '✘'
|
||||||
" let g:ale_sign_warning = '⚠'
|
" 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_elixir_elixir_ls_release = '/usr/lib/elixir-ls/'
|
||||||
|
|
||||||
let g:ale_linters = {
|
let g:ale_linters = {
|
||||||
|
|
7
vimrc
7
vimrc
|
@ -3,6 +3,13 @@ let s:sep = has('win32') ? '\' : '/'
|
||||||
" check if in tty
|
" check if in tty
|
||||||
let g:is_tty = system('case $(tty) in (/dev/tty[0-9]) echo 1;; (*) echo 0;; esac')
|
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
|
""" Set python3 path
|
||||||
let g:python3_host_prog = "/usr/bin/python"
|
let g:python3_host_prog = "/usr/bin/python"
|
||||||
let g:python_host_prog='/usr/bin/python'
|
let g:python_host_prog='/usr/bin/python'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user