diff options
author | James Walmsley <[email protected]> | 2021-07-02 21:20:09 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-02 16:20:09 -0400 |
commit | 85c24bc2f7a7bf0771cf70cf0f9de0190fdf5670 (patch) | |
tree | f2a8d86228e574fa42a8ca6e4fd40803420a085c /ftplugin/cpp.lua | |
parent | 6f440778369231cfb7b0ee51f71fc2321528c0ac (diff) |
[FTPLUGIN] Rename cpp -> c neovim sources c for c and cpp. (#598)
Diffstat (limited to 'ftplugin/cpp.lua')
-rw-r--r-- | ftplugin/cpp.lua | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ftplugin/cpp.lua b/ftplugin/cpp.lua deleted file mode 100644 index 594c375b..00000000 --- a/ftplugin/cpp.lua +++ /dev/null @@ -1,13 +0,0 @@ -require'lspconfig'.clangd.setup { - cmd = {DATA_PATH .. "/lspinstall/cpp/clangd/bin/clangd"}, - on_attach = require'lsp'.common_on_attach, - handlers = { - ["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, { - virtual_text = O.lang.clang.diagnostics.virtual_text, - signs = O.lang.clang.diagnostics.signs, - underline = O.lang.clang.diagnostics.underline, - update_in_insert = true - - }) - } -} |