feat(lualine): Add winbar and modify overseer

This commit is contained in:
Jiří Štefka 2024-09-26 04:58:13 +02:00
parent 8ad3a834ce
commit c1fe17012b
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE
2 changed files with 60 additions and 22 deletions
nvim/ftplugin

View file

@ -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")