mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 17:03:36 +02:00
enc: move lsp config to auto-lsp.nvim
This commit is contained in:
parent
5f766a5717
commit
c09e320633
22 changed files with 253 additions and 293 deletions
22
lua/user/lsp/settings_backup/jdtls.lua
Normal file
22
lua/user/lsp/settings_backup/jdtls.lua
Normal file
|
@ -0,0 +1,22 @@
|
|||
return {
|
||||
cmd = {
|
||||
"jdtls",
|
||||
"-configuration",
|
||||
vim.fn.stdpath("cache") .. "/jdtls/config",
|
||||
"-data",
|
||||
vim.fn.stdpath("cache") .. "/jdtls/workspace",
|
||||
},
|
||||
filetypes = { "java" },
|
||||
root_dir = require("lspconfig.util").root_pattern(
|
||||
-- Single-module projects
|
||||
{
|
||||
"build.xml", -- Ant
|
||||
"pom.xml", -- Maven
|
||||
"settings.gradle", -- Gradle
|
||||
"settings.gradle.kts", -- Gradle
|
||||
},
|
||||
-- Multi-module projects
|
||||
{ "build.gradle", "build.gradle.kts" }
|
||||
) or vim.fn.getcwd(),
|
||||
singe_file_support = true,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue