feat: quint language server
This commit is contained in:
parent
19fc6838cd
commit
53268a04d7
@ -28,6 +28,17 @@ vim.cmd("noswapfile")
|
|||||||
vim.cmd("syntax on")
|
vim.cmd("syntax on")
|
||||||
vim.cmd("filetype plugin on")
|
vim.cmd("filetype plugin on")
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
|
||||||
|
pattern = {"*.qnt"},
|
||||||
|
callback = function(args)
|
||||||
|
vim.lsp.start({
|
||||||
|
name = 'quint',
|
||||||
|
cmd = {'quint-language-server', '--stdio'},
|
||||||
|
root_dir = vim.fs.dirname(vim.uri_from_bufnr(args.buf))
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
au BufNewFile,BufRead *Makefile,*.mk set noexpandtab
|
au BufNewFile,BufRead *Makefile,*.mk set noexpandtab
|
||||||
]])
|
]])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user