WIP: Switch to NixOS #5
4 changed files with 4 additions and 12 deletions
|
@ -44,11 +44,6 @@ end
|
||||||
-- Maps keys and does other needed actions
|
-- Maps keys and does other needed actions
|
||||||
-- when client attaches
|
-- when client attaches
|
||||||
function m.on_attach(client, bufnr)
|
function m.on_attach(client, bufnr)
|
||||||
-- Attach navic if document symbols are available
|
|
||||||
if client.server_capabilities.documentSymbolProvider then
|
|
||||||
require("nvim-navic").attach(client, bufnr)
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Setup keybinds
|
-- Setup keybinds
|
||||||
map_keys()
|
map_keys()
|
||||||
end
|
end
|
||||||
|
|
3
home/.config/nvim/lua/plugins/dropbar.lua
Normal file
3
home/.config/nvim/lua/plugins/dropbar.lua
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
return {
|
||||||
|
"Bekaboo/dropbar.nvim",
|
||||||
|
}
|
|
@ -2,9 +2,5 @@
|
||||||
return {
|
return {
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
dependencies = { "kyazdani42/nvim-web-devicons" },
|
dependencies = { "kyazdani42/nvim-web-devicons" },
|
||||||
opts = {
|
config = true,
|
||||||
sections = {
|
|
||||||
lualine_c = { "navic" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
-- Show code LSP context in winbar
|
|
||||||
return { "SmiteshP/nvim-navic" }
|
|
Loading…
Add table
Add a link
Reference in a new issue