commit
04b62c72b7
2 changed files with 10 additions and 1 deletions
2
dotfiles/neovim/after/ftplugin/typst.lua
Normal file
2
dotfiles/neovim/after/ftplugin/typst.lua
Normal file
|
@ -0,0 +1,2 @@
|
|||
vim.o.tabstop = 2
|
||||
vim.o.shiftwidth = 2
|
|
@ -97,7 +97,7 @@ require('lazy').setup({
|
|||
},
|
||||
{
|
||||
'kdheepak/cmp-latex-symbols', -- latex math
|
||||
ft = { 'julia', },
|
||||
ft = { 'julia', 'typst', },
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
|
@ -210,6 +210,7 @@ vim.filetype.add {
|
|||
saty = 'satysfi',
|
||||
satyh = 'satysfi',
|
||||
satyg = 'satysfi',
|
||||
typ = 'typst',
|
||||
},
|
||||
pattern = {
|
||||
['.*%.satyh%-%a+'] = 'satysfi',
|
||||
|
@ -629,6 +630,12 @@ lspconfig.powershell_es.setup {
|
|||
-- cmd = {'omnisharp'},
|
||||
-- }
|
||||
|
||||
lspconfig.typst_lsp.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
single_file_support = true,
|
||||
}
|
||||
|
||||
local lss = { "pyright", "rust_analyzer", "texlab", "ccls", "clangd", "tsserver", --[["tailwindcss"]] "hls", "cmake",
|
||||
"csharp_ls", "html", "r_language_server" }
|
||||
for _, ls in pairs(lss) do
|
||||
|
|
Loading…
Reference in a new issue