Neovim LSP stuff
This commit is contained in:
@ -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,
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user