mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
nvim: added typst support
This commit is contained in:
parent
0ebff71776
commit
3030da719b
2 changed files with 10 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ vim.lsp.enable("zls")
|
||||||
|
|
||||||
vim.lsp.enable("gopls")
|
vim.lsp.enable("gopls")
|
||||||
|
|
||||||
|
vim.lsp.enable("tinymist")
|
||||||
|
|
||||||
-- https://lsp-zero.netlify.app/blog/lsp-client-features.html
|
-- https://lsp-zero.netlify.app/blog/lsp-client-features.html
|
||||||
|
|
||||||
vim.opt.completeopt = {'menu', 'menuone', 'noselect', 'noinsert'}
|
vim.opt.completeopt = {'menu', 'menuone', 'noselect', 'noinsert'}
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,14 @@ return require('packer').startup(function(use)
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
use {
|
||||||
|
'chomosuke/typst-preview.nvim',
|
||||||
|
tag = 'v1.*',
|
||||||
|
config = function()
|
||||||
|
require 'typst-preview'.setup {}
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
-- use "folke/which-key.nvim"
|
-- use "folke/which-key.nvim"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue