diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 9e7614d..6ccb985 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -21,6 +21,7 @@ Languages = { -- Languages to support - Used to configure highlighting 'php', -- For PHP 'lua', -- For Lua 'markdown', -- For Markdown + 'meson', -- For meson } LanguageServers = { -- Language servers to use for LSP, run LspInstall to see available servers 'html', -- For HTML @@ -29,6 +30,7 @@ LanguageServers = { -- Language servers to use for LSP, run LspInstall to 'phpactor', -- For PHP 'lua_ls', -- For Lua 'marksman', -- For Markdown + 'swift_mesonls', -- For meson } Themes = { { 'nyoom-engineering/oxocarbon.nvim' }, -- Oxocarbon @@ -83,6 +85,7 @@ Plugins = { -- Plugins to use { 'rainbowhxch/accelerated-jk.nvim' }, -- Accelerated movement { 'NvChad/nvim-colorizer.lua' }, -- Colorize #RRGGBB text { 'RRethy/vim-illuminate' }, -- Highlight other instances of the cursor position word + { 'stevearc/aerial.nvim' }, -- Object viewer { 'LunarVim/bigfile.nvim' }, -- Disable heavy features if the file is big } @@ -154,7 +157,8 @@ keymap('n', 'ZX', 'q!', defaultKeyb keymap('n', 'Zz', 'w!', defaultKeybindOptions) keymap('n', '', 'v/{%', defaultKeybindOptions) keymap('n', '', 'NvimTreeToggle', defaultKeybindOptions) -keymap('n', '', 'TroubleToggle', defaultKeybindOptions) +keymap('n', '.', 'TroubleToggle', defaultKeybindOptions) +keymap('n', ',', 'AerialToggle', defaultKeybindOptions) -- Keybinds for handling tabs keymap('n', '', 'BufferLineCyclePrev', defaultKeybindOptions) diff --git a/.config/nvim/lua/aerial_config.lua b/.config/nvim/lua/aerial_config.lua new file mode 100644 index 0000000..914ab55 --- /dev/null +++ b/.config/nvim/lua/aerial_config.lua @@ -0,0 +1,6 @@ +--[[ + speedie's neovim configuration + -- https://git.speedie.site/speedie/speedie-nvim -- +]]-- + +require('aerial').setup({}) diff --git a/.config/nvim/lua/lualine_config.lua b/.config/nvim/lua/lualine_config.lua index 0bdebef..31d7dbf 100644 --- a/.config/nvim/lua/lualine_config.lua +++ b/.config/nvim/lua/lualine_config.lua @@ -211,6 +211,14 @@ ins_right { icon = '󰉢'; } +ins_right { + 'aerial', + sep = " ) ", + depth = nil, + colored = false, + color = { fg = colors.pink, gui = 'bold' }, +} + ins_right { 'branch', icon = '', diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua index 72b3f11..ec3efa3 100644 --- a/.config/nvim/lua/setup.lua +++ b/.config/nvim/lua/setup.lua @@ -23,5 +23,6 @@ require('accelerated_config') require('git_config') require('colorizer_config') require('illuminate_config') +require('aerial_config') require('bigfile_config') require('session_manager')