fix ciderlsp diagnostics

This commit is contained in:
Christian Nieves
2023-03-29 11:53:21 -05:00
parent 7342dcdad1
commit 0a21fea0e1
2 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,7 @@ local configs = require("lspconfig.configs")
if use_google() then
configs.ciderlsp = {
default_config = {
cmd = { "/google/bin/releases/cider/ciderlsp/ciderlsp", "--tooltag=nvim-cmp", "--forward_sync_responses" },
cmd = { "/google/bin/releases/cider/ciderlsp/ciderlsp", "--tooltag=nvim-cmp", "--forward_sync_responses", "--merge_diagnostic_layers" },
filetypes = { "c", "cpp", "java", "kotlin", "objc", "proto", "textproto", "go", "python", "bzl", "typescript"},
-- root_dir = lspconfig.util.root_pattern("BUILD"),
root_dir = function(fname)

View File

@ -1,3 +1,7 @@
local map = require("utils").map
require("neo-tree").setup({
hijack_netrw_behavior = "open_current"
})
map('n', '<C-n>', ':Neotree<cr>')
map('n', '<C-n>', ':Neotree filesystem reveal toggle reveal_force_cwd<cr>')