mirror of
https://github.com/kossLAN/nvim-flake.git
synced 2025-11-04 17:59:50 -05:00
java: disable autoformatter
This commit is contained in:
parent
850ef8aeb5
commit
ac951b8949
1 changed files with 6 additions and 6 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
require("conform").setup({
|
require('conform').setup {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { 'stylua' },
|
||||||
nix = { "alejandra" },
|
nix = { 'alejandra' },
|
||||||
java = { "google-java-format" },
|
-- java = { "google-java-format" },
|
||||||
-- Conform will run multiple formatters sequentially
|
-- Conform will run multiple formatters sequentially
|
||||||
-- python = { "isort", "black" },
|
-- python = { "isort", "black" },
|
||||||
-- You can customize some of the format options for the filetype (:help conform.format)
|
-- You can customize some of the format options for the filetype (:help conform.format)
|
||||||
|
|
@ -13,6 +13,6 @@ require("conform").setup({
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
-- These options will be passed to conform.format()
|
-- These options will be passed to conform.format()
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
lsp_format = "fallback",
|
lsp_format = 'fallback',
|
||||||
},
|
},
|
||||||
})
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue