Files
vim-lsp-settings-mirror/plugin/lsp_settings.vim
Yasuhiro Matsumoto 0269e5f3d0 Add LspManageServers
2021-12-24 23:32:32 +09:00

20 lines
618 B
VimL

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=? LspSettingsLocalEdit call lsp_settings#profile#edit_local(<f-args>)
command! -nargs=0 LspSettingsGlobalEdit call lsp_settings#profile#edit_global()
command! -nargs=0 LspManageServers call lsp_settings#ui#open()
call lsp_settings#init()