Neovim LSP stuff

This commit is contained in:
2025-06-09 09:24:30 +03:00
parent 054f906de3
commit d259a6fd55
11 changed files with 23 additions and 15 deletions

View File

@ -1,5 +1,5 @@
-- https://myriad-dreamin.github.io/tinymist//frontend/neovim.html
vim.lsp.config('tinymist', {
return {
settings = {
formatterPrintWidth = 100, -- can't stand 120
formatterMode = "typstyle", -- or typstfmt
@ -10,4 +10,4 @@ vim.lsp.config('tinymist', {
root_dir = function(bufnr, callback)
callback(vim.fs.root(bufnr, { ".git" }) or vim.fn.expand "%:p:h")
end,
})
}