1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-26 00:33:22 +00:00
dotfiles/nvim/lua/arista.lua

22 lines
465 B
Lua
Raw Normal View History

vim.filetype.add{
2024-07-23 03:01:36 +00:00
extension = {
qb = 'python',
tac = 'tac',
tin = 'cpp',
itin = 'cpp',
}
}
2024-07-23 03:01:36 +00:00
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' })
2024-07-23 03:01:36 +00:00
vim.treesitter.start()
end,
})