3 files changed,
4 insertions(+),
3 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed at:
2023-01-22 15:49:04 +0200
Parent:
7a864da
M
lua/configs/lsp/null-ls.lua
@@ -15,6 +15,6 @@ formatting.gofumpt,
formatting.goimports, formatting.golines, diagnostic.eslint_d, - formatting.prettierd, + formatting.prettierd.with { extra_filetypes = { "astro" } }, }, }
M
lua/configs/lsp/servers.lua
@@ -3,7 +3,8 @@
return { denols = { root_dir = lspconfig.util.root_pattern("deno.json", "deno.jsonc") }, tsserver = { root_dir = lspconfig.util.root_pattern "package.json" }, - emmet_ls = {}, + emmet_ls = { filetypes = { "html", "typescriptreact", "javascriptreact", "css", "scss", "astro" }}, + astro = {}, dockerls = {}, gopls = { settings = {
M
lua/core/autocmd.lua
@@ -8,7 +8,7 @@ end,
}) cmd("FileType", { - pattern = "javascript,typescript,json,html,htmldjango,css", + pattern = "javascript,typescript,json,html,htmldjango,css,astro", callback = function() vim.bo.tabstop = 2 vim.bo.shiftwidth = 2