mirror of
https://github.com/cap153/nvim.git
synced 2025-12-29 05:34:59 +08:00
添加html、js、css的lsp和格式化工具
This commit is contained in:
parent
289c4daaa4
commit
4f7d039b98
3 changed files with 7 additions and 3 deletions
|
|
@ -5,10 +5,10 @@ return {
|
|||
},
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
python = { "isort", "black" },
|
||||
rust = { "rust-analyzer", lsp_format = "fallback" },
|
||||
toml = { "templ" },
|
||||
html = { "djlint" },
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue