summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugins
diff options
context:
space:
mode:
authorYigit Sever2024-11-26 14:19:51 +0100
committerYigit Sever2024-11-26 14:19:51 +0100
commitb7925fa3f4c7ddd8ddf89b6c345fcdc585a91208 (patch)
treeadcb92071b727e2cd83e261b0a5c1db33a04aae8 /.config/nvim/lua/plugins
parent5254be1211f44451333a7067afc26344eae7b488 (diff)
downloaddotfiles-b7925fa3f4c7ddd8ddf89b6c345fcdc585a91208.tar.gz
dotfiles-b7925fa3f4c7ddd8ddf89b6c345fcdc585a91208.tar.bz2
dotfiles-b7925fa3f4c7ddd8ddf89b6c345fcdc585a91208.zip
nvim: add typst lspconfig
Diffstat (limited to '.config/nvim/lua/plugins')
-rw-r--r--.config/nvim/lua/plugins/lsp.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua
index 41616de..2fa92c2 100644
--- a/.config/nvim/lua/plugins/lsp.lua
+++ b/.config/nvim/lua/plugins/lsp.lua
@@ -80,6 +80,19 @@ return {
80 } 80 }
81 end 81 end
82 82
83 -- typst/tinymist
84 require("lspconfig")["tinymist"].setup({
85 on_attach = on_attach,
86 capabilities = capabilities,
87 single_file_support = true,
88 root_dir = function()
89 return vim.fn.getcwd()
90 end,
91 settings = {
92 formatterMode = "typstyle",
93 }
94 })
95
83 -- lua 96 -- lua
84 require("lspconfig")["lua_ls"].setup({ 97 require("lspconfig")["lua_ls"].setup({
85 on_attach = on_attach, 98 on_attach = on_attach,