summaryrefslogtreecommitdiff
path: root/after/plugin/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'after/plugin/lsp.lua')
-rw-r--r--after/plugin/lsp.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua
index f8dae3c..7d8e3ab 100644
--- a/after/plugin/lsp.lua
+++ b/after/plugin/lsp.lua
@@ -1,10 +1,5 @@
local lsp = require('lsp-zero').preset({})
-local function allow_format(servers)
- return function(client) return vim.tbl_contains(servers, client.name) end
-end
-
-
-- TODO: add bindings to work when no lsp available, to allow normal functionality
lsp.on_attach(function(client, bufnr)
-- see :help lsp-zero-keybindings
@@ -23,3 +18,4 @@ lsp.on_attach(function(client, bufnr)
end)
lsp.setup()
+