diff --git a/after/lsp/tinymist.lua b/after/lsp/tinymist.lua new file mode 100644 index 0000000..6220be5 --- /dev/null +++ b/after/lsp/tinymist.lua @@ -0,0 +1,5 @@ +return { + settings = { + exportPdf = "onType", + } +} diff --git a/lua/conf/plugins/lsp.lua b/lua/conf/plugins/lsp.lua index 128d1f1..0d9f4c0 100644 --- a/lua/conf/plugins/lsp.lua +++ b/lua/conf/plugins/lsp.lua @@ -7,14 +7,15 @@ return { load = function() core.lsp.setup() require("mason-lspconfig").setup { - ensure_added = { + ensure_installed = { "clangd", "mesonlsp", "bashls", "jdtls", "lua_ls", "basedpyright", - "debugpy" + "zls", + "nil_ls" } } end diff --git a/lua/conf/plugins/treesitter.lua b/lua/conf/plugins/treesitter.lua index fbe620c..30d31a5 100644 --- a/lua/conf/plugins/treesitter.lua +++ b/lua/conf/plugins/treesitter.lua @@ -2,6 +2,7 @@ local map = core.misc.map return { { "nvim-treesitter/nvim-treesitter", + branch = "master", config = function() vim.cmd("TSUpdate") end, diff --git a/lua/snippets/markdown.lua b/lua/snippets/markdown.lua new file mode 100644 index 0000000..77edb4a --- /dev/null +++ b/lua/snippets/markdown.lua @@ -0,0 +1,11 @@ +dofile(core.snippets) + +return { + s("[]", { + t("["), + i(1), + t("]("), + i(2), + t(")"), + }), +}