feat(lualine): Add winbar and modify overseer
This commit is contained in:
parent
8ad3a834ce
commit
c1fe17012b
2 changed files with 60 additions and 22 deletions
nvim/ftplugin
|
@ -1,3 +1,8 @@
|
|||
if vim.g.did_load_c_plugin then
|
||||
return
|
||||
end
|
||||
vim.g.did_load_c_plugin = true
|
||||
|
||||
-- Exit if the language server isn't available
|
||||
if vim.fn.executable('clangd') ~= 1 then
|
||||
return
|
||||
|
@ -16,7 +21,10 @@ vim.lsp.start {
|
|||
cmd = { 'clangd' },
|
||||
root_dir = vim.fs.dirname(vim.fs.find(root_files, { upward = true })[1]),
|
||||
capabilities = require('user.lsp').make_client_capabilities(),
|
||||
}
|
||||
on_attach = function(client, bufnr)
|
||||
require("nvim-navic").attach(client, bufnr)
|
||||
end
|
||||
}
|
||||
|
||||
local dap = require("dap")
|
||||
local pickers = require("telescope.pickers")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue