diff options
author | talha <talha@talhaamir.xyz> | 2024-04-23 00:43:02 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2024-04-23 00:43:02 +0500 |
commit | f4431f6d75baa71aa23318ea50bea3848f946ab1 (patch) | |
tree | b68fdc45b210d7c8adf2db39a2e7d499ccc1ba6f /after/plugin/lsp.lua | |
parent | 721ef14cf3906992d8615456493de439ada8e1b8 (diff) |
Migrated to lazy.nvim, added neomake, a few remaps
Diffstat (limited to 'after/plugin/lsp.lua')
-rw-r--r-- | after/plugin/lsp.lua | 6 |
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() + |