From f4431f6d75baa71aa23318ea50bea3848f946ab1 Mon Sep 17 00:00:00 2001 From: talha Date: Tue, 23 Apr 2024 00:43:02 +0500 Subject: Migrated to lazy.nvim, added neomake, a few remaps --- after/plugin/lsp.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'after/plugin/lsp.lua') 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() + -- cgit v1.2.3