astrolsp: disable autoformat for java
This commit is contained in:
parent
a615daab17
commit
3bbf5b6a9d
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,7 @@ return {
|
|||
opts = {
|
||||
-- Configuration table of features provided by AstroLSP
|
||||
features = {
|
||||
autoformat = true, -- enable or disable auto formatting on start
|
||||
autoformat = false, -- enable or disable auto formatting on start
|
||||
codelens = true, -- enable/disable codelens refresh on start
|
||||
inlay_hints = false, -- enable/disable inlay hints on start
|
||||
semantic_tokens = true, -- enable/disable semantic token highlighting
|
||||
|
@ -23,9 +23,11 @@ return {
|
|||
format_on_save = {
|
||||
enabled = true, -- enable or disable format on save globally
|
||||
allow_filetypes = { -- enable format on save for specified filetypes only
|
||||
"rust",
|
||||
-- "go",
|
||||
},
|
||||
ignore_filetypes = { -- disable format on save for specified filetypes
|
||||
"java",
|
||||
-- "python",
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue