feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent c13e28f894
commit 2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions

38
plugin/filetypes.lua Normal file
View file

@ -0,0 +1,38 @@
local filetypes = {
bash = { 'sh', 'PKGBUILD' },
bibtex = { 'bib' },
c_sharp = { 'cs' },
commonlisp = { 'lisp' },
devicetree = { 'dts' },
diff = { 'gitdiff' },
eex = { 'eelixir' },
embedded_template = { 'eruby' },
git_config = { 'gitconfig' },
git_rebase = { 'gitrebase' },
glimmer = { 'handlebars', 'html.handlebars' },
godot_resource = { 'gdresource' },
html = { 'html_tags' },
janet_simple = { 'janet' },
javascript = { 'javascript', 'javascriptreact', 'ecma', 'jsx' },
latex = { 'tex', 'cls', 'sty' },
m68k = { 'asm68k' },
markdown = { 'pandoc', 'quarto', 'rmd' },
ocaml_interface = { 'ocamlinterface' },
poe_filter = { 'poefilter' },
qmljs = { 'qml' },
starlark = { 'bzl' },
surface = { 'sface' },
t32 = { 'trace32' },
tlaplus = { 'tla' },
tsx = { 'typescriptreact', 'typescript.tsx' },
uxntal = { 'tal' },
v = { 'vlang' },
verilog = { 'sysverilog' },
vhs = { 'tape' },
vimdoc = { 'help' },
xml = { 'xml', 'xsd', 'xslt', 'svg' },
}
for lang, ft in pairs(filetypes) do
vim.treesitter.language.register(lang, ft)
end