mirror of
https://github.com/Ajetski/dotfiles.git
synced 2025-09-30 07:23:17 -09:00
kill eslint
This commit is contained in:
parent
99406f6bc1
commit
8c9f994160
@ -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 }
|
||||
|
||||
--[[
|
||||
if client.name == "eslint" then
|
||||
vim.cmd.LspStop('eslint')
|
||||
return
|
||||
end
|
||||
]]--
|
||||
|
||||
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
|
||||
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user