From 8da74763244016f6bd8782b79a5b8b6efd614e17 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sat, 18 Mar 2023 20:43:24 +0900 Subject: [PATCH] add: nvim: ccls --- dotfiles/neovim/init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 4c1cc43..c12db6f 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -74,7 +74,7 @@ require('lazy').setup({ }, { 'hkupty/iron.nvim', - ft = { 'julia', 'python', 'ruby', }, + ft = { 'julia', 'python', 'ruby', 'lua', }, }, { 'lewis6991/gitsigns.nvim', }, 'neovim/nvim-lspconfig', @@ -454,6 +454,11 @@ lspconfig.texlab.setup { } -- -- jetls -- lspconfig.jetls.setup {} +-- ccls +lspconfig.ccls.setup { + on_attach = on_attach, + capabilities = capabilities, +} -- nvim-cmp setup local cmp = require 'cmp'