feat: add custom treesitter and shfmt
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -42,6 +42,7 @@ return {
|
||||
nls.builtins.formatting.prettierd.with({
|
||||
filetypes = { "graphql" }
|
||||
}),
|
||||
nls.builtins.formatting.shfmt,
|
||||
nls.builtins.code_actions.gitsigns,
|
||||
nls.builtins.code_actions.refactoring,
|
||||
nls.builtins.formatting.rustfmt.with({
|
||||
|
@@ -17,6 +17,13 @@ return {
|
||||
}
|
||||
|
||||
|
||||
vim.treesitter.language.register('xml', 'html')
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
xml = "html"
|
||||
}
|
||||
})
|
||||
|
||||
-- https://neovim.io/doc/user/lua.html#vim.filetype.add()
|
||||
-- Search for vim.filetype.add
|
||||
vim.filetype.add({
|
||||
|
Reference in New Issue
Block a user