mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-26 00:33:22 +00:00
22 lines
467 B
Lua
22 lines
467 B
Lua
|
vim.filetype.add({
|
||
|
extension = {
|
||
|
qb = 'python',
|
||
|
tac = 'tac',
|
||
|
tin = 'cpp',
|
||
|
itin = 'cpp',
|
||
|
}
|
||
|
})
|
||
|
vim.api.nvim_create_autocmd('FileType', {
|
||
|
pattern = 'tac',
|
||
|
callback = function(args)
|
||
|
vim.lsp.start({
|
||
|
cmd = {'/usr/bin/artaclsp'},
|
||
|
cmd_args = {'-I', '/bld/'},
|
||
|
name = 'tacc',
|
||
|
root_dir = '/src',
|
||
|
})
|
||
|
vim.treesitter.language.add("tac", { path = "/usr/lib64/libtree-sitter-tac.so" })
|
||
|
vim.treesitter.start()
|
||
|
end,
|
||
|
})
|