1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-26 08:43:19 +00:00
dotfiles/nvim/lua/arista.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,
})