diff options
| -rw-r--r-- | init.lua | 5 | ||||
| -rw-r--r-- | lspc.lua | 9 |
2 files changed, 6 insertions, 8 deletions
@@ -78,11 +78,6 @@ do end assert(vis_pid) --- check if fzf is available and use fzf instead of vis-menu per default -if os.execute('type fzf >/dev/null 2>/dev/null') then - lspc.menu_cmd = 'fzf' -end - -- mapping function between vis lexer names and LSP languageIds local function syntax_to_languageId(syntax) -- LuaFormatter off @@ -56,9 +56,11 @@ local lspc = { }, } --- ---- ClientCapabilities we tell the language server when calling "initialize" --- +-- check if fzf is available and use fzf instead of vis-menu per default +if os.execute('type fzf >/dev/null 2>/dev/null') then + lspc.menu_cmd = 'fzf' +end + local supported_markup_kind = {'markdown'} local goto_methods_capabilities = { @@ -66,6 +68,7 @@ local goto_methods_capabilities = { dynamicRegistration = false, } +--- ClientCapabilities we tell the language server when calling "initialize". local client_capabilites = { workspace = { configuration = true, |
