kill eslint

This commit is contained in:
Adam Jeniski 2023-02-07 22:39:36 -05:00
parent 99406f6bc1
commit 8c9f994160

View File

@ -49,15 +49,13 @@ lsp.set_preferences({
} }
}) })
lsp.on_attach(function(_client, bufnr) lsp.on_attach(function(client, bufnr)
local opts = { buffer = bufnr, remap = false } local opts = { buffer = bufnr, remap = false }
--[[
if client.name == "eslint" then if client.name == "eslint" then
vim.cmd.LspStop('eslint') vim.cmd.LspStop('eslint')
return return
end end
]]--
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts) vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts) vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)