split config

This commit is contained in:
2023-01-14 13:02:17 +01:00
parent c76362b913
commit 77036d0584
21 changed files with 341 additions and 391 deletions

28
polish.lua Normal file
View File

@@ -0,0 +1,28 @@
return function()
vim.filetype.add {
extension = {
avsc = "json",
},
}
vim.filetype.add {
extension = {
dataviewjs = "javascript",
},
}
local ft_to_parser = require("nvim-treesitter.parsers").filetype_to_parsername
ft_to_parser.dataviewjs = "javascript"
-- Set up custom filetypes
-- vim.filetype.add {
-- extension = {
-- foo = "fooscript",
-- },
-- filename = {
-- ["Foofile"] = "fooscript",
-- },
-- pattern = {
-- ["~/%.config/foo/.*"] = "fooscript",
-- },
-- }
end