diff options
| author | seth <[email protected]> | 2023-04-02 10:07:46 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-04-02 10:08:02 -0400 |
| commit | b78980492c2c5f90bcae0ec619d835a149285b7d (patch) | |
| tree | 2cc19913c6681d6f1ffa4b1eecf427c7842a4c5d /users/seth/programs/neovim/config/general.lua | |
| parent | 2a41601d060739ea5d7553361eac8b542a55bd93 (diff) | |
refactor + add figet/bufferline to neovim config
Diffstat (limited to 'users/seth/programs/neovim/config/general.lua')
| -rw-r--r-- | users/seth/programs/neovim/config/general.lua | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/users/seth/programs/neovim/config/general.lua b/users/seth/programs/neovim/config/general.lua new file mode 100644 index 0000000..349c191 --- /dev/null +++ b/users/seth/programs/neovim/config/general.lua @@ -0,0 +1,65 @@ +---- autopairs +require("nvim-autopairs").setup({ + disable_filetype = { "TeleScopePrompt" }, +}) + +---- catppuccin +local compile_path = vim.fn.stdpath("cache") .. "/catppuccin-nvim" +vim.fn.mkdir(compile_path, "p") +vim.opt.runtimepath:append(compile_path) + +require("catppuccin").setup({ + 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, +}) +vim.api.nvim_command("colorscheme catppuccin") + +---- bufferline +require("bufferline").setup({ + options = { + highlights = require("catppuccin.groups.integrations.bufferline").get(), + diagnostics = "nvim_lsp", + numbers = "ordinal", + }, +}) + +---- gitsigns +require("gitsigns").setup({}) + +---- leap +require("leap").add_default_mappings() + +---- lualine +require("lualine").setup({ + options = { + theme = "catppuccin", + }, + extensions = { "nvim-tree" }, +}) + +---- nvim-tree +require("nvim-tree").setup({}) + +---- treesitter +require("nvim-treesitter.configs").setup({ + auto_install = false, + highlight = { + enable = true, + additional_vim_regex_highlighting = false, + }, +}) |
