mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-26 02:38:45 +02:00
fix: format on save tidak respon jika menggunakan lsp format
This commit is contained in:
parent
2e64635d7e
commit
f5f74f80e0
6 changed files with 159 additions and 157 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue