diff options
| author | seth <[email protected]> | 2023-04-02 21:14:36 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-04-02 21:14:36 -0400 |
| commit | 8a8be409c0f0d911eb19969c05e7f4a171a63767 (patch) | |
| tree | 3dcdd90daed9ef83527093396d185a7bfda9dbd5 /.config/nvim/lua/getchoo/init.lua | |
| parent | d421be1222d6744c0d738e5fbf96ee6daafd61b2 (diff) | |
copy refactor from flake for neovim config
Diffstat (limited to '.config/nvim/lua/getchoo/init.lua')
| -rw-r--r-- | .config/nvim/lua/getchoo/init.lua | 64 |
1 files changed, 1 insertions, 63 deletions
diff --git a/.config/nvim/lua/getchoo/init.lua b/.config/nvim/lua/getchoo/init.lua index beae5d6..60fde4b 100644 --- a/.config/nvim/lua/getchoo/init.lua +++ b/.config/nvim/lua/getchoo/init.lua @@ -1,65 +1,3 @@ --- --- setup plugins --- - require("getchoo.plugins") - -local M = {} - -M.bufferline = { - animation = true, - auto_hide = true, - highlights = require("catppuccin.groups.integrations.bufferline").get(), - icons = true, - maximum_padding = 2, - semantic_letters = true, -} - -local compile_path = vim.fn.stdpath("cache") .. "/catppuccin-nvim" -vim.fn.mkdir(compile_path, "p") -vim.opt.runtimepath:append(compile_path) - -M.catppuccin = { - compile_path = compile_path, - flavour = "mocha", -- mocha, macchiato, frappe, latte - integrations = { - barbar = true, - cmp = true, - gitsigns = true, - leap = true, - native_lsp = { - enabled = true, - }, - nvimtree = true, - treesitter_context = true, - treesitter = true, - telescope = true, - lsp_trouble = true, - }, - no_italic = true, -} - -M.lualine = { - options = { - theme = "catppuccin", - }, - extensions = { "nvim-tree" }, -} - -M.tree = {} - -require("catppuccin").setup(M.catppuccin) -vim.api.nvim_command("colorscheme catppuccin") -require("bufferline").setup(M.bufferline) -require("leap").add_default_mappings() -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 +require("getchoo.filetypes") |
