-
I’m using r-languageserver in AstroNvim. After updating it today, the code I write gets changed automatically when I save the file. For example, when I write the following code: n = 42L It gets changed to n <- 42L How can I disable this? I guess it’s one of the server capabilities listed in To be clear, I don’t need/want fine-grained control over ‘styler’ actions. I would like to disable it entirely. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Apparently this was a change in AstroNvim and can be disabled as shown here: https://astronvim.github.io/Recipes/advanced_lsp return {
lsp = {
formatting = {
format_on_save = false, -- enable or disable automatic formatting on save
},
},
} |
Beta Was this translation helpful? Give feedback.
Apparently this was a change in AstroNvim and can be disabled as shown here: https://astronvim.github.io/Recipes/advanced_lsp