-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f5deea
commit bcc700a
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
local lspconfig = require("lspconfig") | ||
local util = require("lspconfig.util") | ||
local configs = require("lspconfig.configs") | ||
local cmp_nvim_lsp = require("cmp_nvim_lsp") | ||
|
||
if not configs.lsp_test then | ||
configs.lsp_test = { | ||
if not configs.symfony_lsp then | ||
configs.symfony_lsp = { | ||
default_config = { | ||
cmd = { "lsp_test", "--stdio" }, | ||
cmd_cwd = "/home/rhydian/projects/lsp_test/target/release", | ||
filetypes = { "lua" }, | ||
cmd = { "symfony_lsp" }, | ||
filetypes = { "php", "yml", "yaml" }, | ||
root_dir = util.find_git_ancestor, | ||
}, | ||
} | ||
end | ||
|
||
vim.lsp.set_log_level("debug") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters