Sanchayan Maity
84f729f3c7
This seems to interfere with git signs tracking among other things. While at it move the remaining configuration to Lua.
10 lines
339 B
Lua
10 lines
339 B
Lua
local lsp_utils = require('lsp-utils')
|
|
local clangd_config = lsp_utils.clangd_config()
|
|
|
|
vim.lsp.start(clangd_config)
|
|
|
|
vim.bo.makeprg = 'meson compile -C build'
|
|
|
|
vim.keymap.set('n', 'gh', ":ClangdSwitchSourceHeader<CR>", { noremap=true, buffer=0 })
|
|
vim.keymap.set('n', 'gq', ":!gst-indent %<CR>" , { noremap=true, buffer=0 })
|