fix: format on save tidak respon jika menggunakan lsp format

This commit is contained in:
asep.komarudin 2024-06-29 08:40:58 +07:00
parent 2e64635d7e
commit f5f74f80e0
6 changed files with 159 additions and 157 deletions

View file

@ -38,12 +38,17 @@ pcode.progress = 1
-- 4 = off
pcode.show_mode = 3
-- 1 ( format jalan) 0 (fromat off)
pcode.format_on_save = 1
-- true or false
pcode.format_on_save = true
pcode.format_timeout_ms = 5000
pcode.treesitter_ensure_installed = {}
-- https://github.com/mfussenegger/nvim-lint
-- https://github.com/stevearc/conform.nvim
-- use conform and nvim-lint if set true
pcode.disable_null_ls = true
pcode.treesitter_ensure_installed = {}
pcode.tscontext = false
-- ini hanya untuk lsp yg tidak support masson
-- untuk referesi support language kunjungi link dibawah
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
@ -65,7 +70,7 @@ pcode.mason_ensure_installed = { -- sebelumnya register_lsp
-- tambahkan di bawah sini setelah melakukan :masoninstall
}
pcode.unregister_lsp = {
-- "jdtls", -- tambahkan di bawah ini
"jdtls", -- tambahkan di bawah ini
}
-- https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md
@ -153,7 +158,7 @@ pcode.database = false
pcode.rest_client = true
-- https://github.com/mfussenegger/nvim-dap
pcode.nvim_dap = false -- not support for windows os (auto config mason-nvim-dap)
pcode.nvim_dap = true -- not support for windows os (auto config mason-nvim-dap)
-- conefig special support test & dap
pcode.active_rust_config = false
@ -167,6 +172,6 @@ pcode.active_golang_config = false
pcode.active_python_config = false
pcode.active_cpp_config = false
pcode.active_java_config = {
active = false,
active = true,
project = "gradle", -- gradle or maven
}