diff options
| author | seth <[email protected]> | 2022-12-06 19:11:07 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2022-12-06 19:11:07 -0500 |
| commit | 0ba27d671d2e11747e695feaa546cd541ca6b7a8 (patch) | |
| tree | 12555b9adaefff6101c4408a483fa14f25676438 /.config/nvim/lua/getchoo/init.lua | |
| parent | ad792b30ad097b906050aff806fb693ddb154051 (diff) | |
small refactor for neovim config
Diffstat (limited to '.config/nvim/lua/getchoo/init.lua')
| -rw-r--r-- | .config/nvim/lua/getchoo/init.lua | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.config/nvim/lua/getchoo/init.lua b/.config/nvim/lua/getchoo/init.lua new file mode 100644 index 0000000..83233ea --- /dev/null +++ b/.config/nvim/lua/getchoo/init.lua @@ -0,0 +1,37 @@ +-- +-- setup plugins +-- + +require("getchoo.plugins") + +local M = {} + +M.bufferline = { + animation = true, + auto_hide = true, + icons = true, + maximum_padding = 2, + semantic_letters = true, +} + +M.lualine = { + options = { + theme = "catppuccin", + }, + extensions = { "nvim-tree" }, +} + +M.tree = {} + +require("bufferline").setup(M.bufferline) +require("lualine").setup(M.lualine) +require("nvim-tree").setup(M.tree) + +if vim.g.use_lsp_plugins then + require("getchoo.ftdetect") + require("getchoo.lsp") +end + +require("getchoo.keymap") + +return M |
