aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 12:56:53 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 12:56:53 +0900
commit386951849a62583ec8d9e0c60170ca59dbc61708 (patch)
tree841f7df96e21ad0b162e69445202a997bff7d50e /plugin
parent9ec55697b7cad9f0e474795869985fd474efe6d3 (diff)
parent3b5c80cf983a82f78ee98a2d6d7dacc7703de1c2 (diff)
downloadvim-lsp-settings-386951849a62583ec8d9e0c60170ca59dbc61708.tar.gz
vim-lsp-settings-386951849a62583ec8d9e0c60170ca59dbc61708.tar.bz2
vim-lsp-settings-386951849a62583ec8d9e0c60170ca59dbc61708.zip
Merge branch 'master' into efm
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lsp_settings.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim
index 2b3346e..ffe10b0 100644
--- a/plugin/lsp_settings.vim
+++ b/plugin/lsp_settings.vim
@@ -3,6 +3,13 @@ if exists('g:loaded_lsp_settings') || !exists('*json_encode') || !has('lambda')
endif
let g:loaded_lsp_settings= 1
+let g:lsp_settings_root_markers = get(g:, 'lsp_settings_root_markers', [
+ \ '.git/',
+ \ '.svn/',
+ \ '.hg/',
+ \ '.bzr/'
+ \ ])
+
let s:settings_dir = expand('<sfile>:h:h').'/settings'
let s:checkers_dir = expand('<sfile>:h:h').'/checkers'
let s:installer_dir = expand('<sfile>:h:h').'/installer'