aboutsummaryrefslogtreecommitdiff
path: root/plugin/lsp_settings.vim
blob: 32ff72c06c05aac8a3998ae4046022db8c29818e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if exists('g:loaded_lsp_settings') || !exists('*json_encode') || !has('lambda')
  finish
endif
let g:loaded_lsp_settings= 1

let g:lsp_settings_root_markers = get(g:, 'lsp_settings_root_markers', [
      \ '.git',
      \ '.git/',
      \ '.svn/',
      \ '.hg/',
      \ '.bzr/'
      \ ])

command! -nargs=0 LspSettingsStatus call lsp_settings#profile#status()
command! -nargs=0 LspSettingsLocalEdit call lsp_settings#profile#edit_local()

call lsp_settings#init()