Updating neovim configuration
This commit is contained in:
parent
f8e72a4b87
commit
b5f320f092
@ -9,7 +9,7 @@ return {
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
config = function()
|
||||
require("mason-lspconfig").setup({
|
||||
ensure_installed = { "lua_ls", "texlab", "clangd", "pylsp" },
|
||||
ensure_installed = { "lua_ls", "texlab", "clangd", "pylsp", "html", "tailwindcss" },
|
||||
})
|
||||
end,
|
||||
},
|
||||
@ -30,6 +30,12 @@ return {
|
||||
lspconfig.pylsp.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
lspconfig.html.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
lspconfig.tailwindcss.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
@ -7,6 +7,10 @@ return {
|
||||
null_ls.builtins.formatting.stylua,
|
||||
null_ls.builtins.formatting.black,
|
||||
null_ls.builtins.formatting.isort,
|
||||
null_ls.builtins.formatting.bibclean,
|
||||
null_ls.builtins.formatting.biome,
|
||||
null_ls.builtins.formatting.clang_format,
|
||||
null_ls.builtins.formatting.djlint,
|
||||
},
|
||||
})
|
||||
vim.keymap.set("n", "<leader>gf", vim.lsp.buf.format, {})
|
||||
|
Loading…
Reference in New Issue
Block a user