aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/ccls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim_lsp/ccls.lua')
-rw-r--r--lua/nvim_lsp/ccls.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/lua/nvim_lsp/ccls.lua b/lua/nvim_lsp/ccls.lua
index 4accfc98..43d26722 100644
--- a/lua/nvim_lsp/ccls.lua
+++ b/lua/nvim_lsp/ccls.lua
@@ -2,14 +2,11 @@ local configs = require 'nvim_lsp/configs'
local util = require 'nvim_lsp/util'
configs.ccls = {
- default_config = util.utf8_config {
+ default_config = {
cmd = {"ccls"};
filetypes = {"c", "cpp", "objc", "objcpp"};
root_dir = util.root_pattern("compile_commands.json", "compile_flags.txt", ".git");
};
- -- commands = {};
- -- on_new_config = function(new_config) end;
- -- on_attach = function(client, bufnr) end;
docs = {
vscode = "ccls-project.ccls";
description = [[
@@ -20,8 +17,6 @@ as compile_commands.json or, for simpler projects, a compile_flags.txt.
]];
default_config = {
root_dir = [[root_pattern("compile_commands.json", "compile_flags.txt", ".git")]];
- on_init = [[function to handle changing offsetEncoding]];
- capabilities = [[default capabilities, with offsetEncoding utf-8]];
};
};
}