lsp update

This commit is contained in:
ggodot 2024-12-12 20:10:13 +01:00
parent 1f06341766
commit 766f9b43a8

View File

@ -9,7 +9,7 @@ return {
config = function()
require("mason-lspconfig").setup({
ensure_installed = { "lua_ls",
"tsserver", "html",
"ts_ls", "html",
"marksman"}
})
end
@ -20,7 +20,7 @@ return {
local lspconfig = require("lspconfig")
lspconfig.lua_ls.setup({}) -- lua
lspconfig.marksman.setup({})
lspconfig.tsserver.setup({}) -- js
lspconfig.ts_ls.setup({}) -- js
lspconfig.html.setup({}) -- html
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})