diff --git a/vim-lsp.md b/vim-lsp.md index ec0fe80..1b47d7c 100644 --- a/vim-lsp.md +++ b/vim-lsp.md @@ -10,12 +10,12 @@ if executable('ccls') \ 'cmd': {server_info->['ccls']}, \ 'root_uri': {server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), 'compile_commands.json'))}, \ 'initialization_options': {'cache': {'directory': '/tmp/ccls/cache' }}, - \ 'whitelist': ['c', 'cpp', 'objc', 'objcpp', 'cc'], + \ 'allowlist': ['c', 'cpp', 'objc', 'objcpp', 'cc'], \ }) endif ``` -Note you may want to `whitelist` of C/C++/... file suffixes to your taste. +Note you may want modify `allowlist` of C/C++/... file suffixes to your taste. Next, set up key bindings by adding the following to your `~/.vimrc` or `~/.vim/vimrc`: