Compare commits
5 commits
treesitter
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e73cc78aa | |||
| e83b9e5cfa | |||
| 550f5d060b | |||
| 47c0d051f6 | |||
| ade2f0f598 |
4 changed files with 20 additions and 2 deletions
5
after/lsp/tinymist.lua
Normal file
5
after/lsp/tinymist.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
return {
|
||||||
|
settings = {
|
||||||
|
exportPdf = "onType",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,14 +7,15 @@ return {
|
||||||
load = function()
|
load = function()
|
||||||
core.lsp.setup()
|
core.lsp.setup()
|
||||||
require("mason-lspconfig").setup {
|
require("mason-lspconfig").setup {
|
||||||
ensure_added = {
|
ensure_installed = {
|
||||||
"clangd",
|
"clangd",
|
||||||
"mesonlsp",
|
"mesonlsp",
|
||||||
"bashls",
|
"bashls",
|
||||||
"jdtls",
|
"jdtls",
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"basedpyright",
|
"basedpyright",
|
||||||
"debugpy"
|
"zls",
|
||||||
|
"nil_ls"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ local map = core.misc.map
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{ "nvim-treesitter/nvim-treesitter",
|
{ "nvim-treesitter/nvim-treesitter",
|
||||||
|
branch = "master",
|
||||||
config = function()
|
config = function()
|
||||||
vim.cmd("TSUpdate")
|
vim.cmd("TSUpdate")
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
11
lua/snippets/markdown.lua
Normal file
11
lua/snippets/markdown.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
dofile(core.snippets)
|
||||||
|
|
||||||
|
return {
|
||||||
|
s("[]", {
|
||||||
|
t("["),
|
||||||
|
i(1),
|
||||||
|
t("]("),
|
||||||
|
i(2),
|
||||||
|
t(")"),
|
||||||
|
}),
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue