summaryrefslogtreecommitdiff
path: root/users/seth/programs
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/programs')
-rw-r--r--users/seth/programs/neovim/config/init.lua3
-rw-r--r--users/seth/programs/neovim/config/lua/getchoo/init.lua19
-rw-r--r--users/seth/programs/neovim/config/lua/getchoo/plugins.lua52
3 files changed, 19 insertions, 55 deletions
diff --git a/users/seth/programs/neovim/config/init.lua b/users/seth/programs/neovim/config/init.lua
index 66f7a4b..b6550ba 100644
--- a/users/seth/programs/neovim/config/init.lua
+++ b/users/seth/programs/neovim/config/init.lua
@@ -5,7 +5,7 @@
local cmd = vim.cmd
local opt = vim.opt
-vim.g.use_lsp_plugins = false;
+vim.g.use_lsp_plugins = true;
require("getchoo")
@@ -20,3 +20,4 @@ opt.wrap = false
opt.syntax = "on"
cmd("filetype plugin indent on")
opt.termguicolors = true
+vim.api.nvim_command("colorscheme catppuccin")
diff --git a/users/seth/programs/neovim/config/lua/getchoo/init.lua b/users/seth/programs/neovim/config/lua/getchoo/init.lua
index 83233ea..a719ac3 100644
--- a/users/seth/programs/neovim/config/lua/getchoo/init.lua
+++ b/users/seth/programs/neovim/config/lua/getchoo/init.lua
@@ -2,8 +2,6 @@
-- setup plugins
--
-require("getchoo.plugins")
-
local M = {}
M.bufferline = {
@@ -14,6 +12,22 @@ M.bufferline = {
semantic_letters = true,
}
+M.catppuccin = {
+ flavour = "mocha", -- mocha, macchiato, frappe, latte
+ integrations = {
+ barbar = true,
+ gitsigns = true,
+ lightspeed = true,
+ cmp = true,
+ nvimtree = true,
+ treesitter_context = true,
+ treesitter = true,
+ telescope = true,
+ lsp_trouble = true,
+ },
+ no_italic = true,
+}
+
M.lualine = {
options = {
theme = "catppuccin",
@@ -24,6 +38,7 @@ M.lualine = {
M.tree = {}
require("bufferline").setup(M.bufferline)
+require("catppuccin").setup(M.catppuccin)
require("lualine").setup(M.lualine)
require("nvim-tree").setup(M.tree)
diff --git a/users/seth/programs/neovim/config/lua/getchoo/plugins.lua b/users/seth/programs/neovim/config/lua/getchoo/plugins.lua
deleted file mode 100644
index 385710f..0000000
--- a/users/seth/programs/neovim/config/lua/getchoo/plugins.lua
+++ /dev/null
@@ -1,52 +0,0 @@
---
--- plugins for neovim
---
-
-local fn = vim.fn
-local cmd = vim.cmd
-
-local packer_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
-
-if fn.empty(fn.glob(packer_path)) > 0 then
- Packer_bootstrap = fn.system({
- "git",
- "clone",
- "--depth",
- "1",
- "https://github.com/wbthomason/packer.nvim",
- packer_path,
- })
- cmd("packadd packer.nvim")
-end
-
-require("packer").startup(function(use)
- use("wbthomason/packer.nvim")
-
- -- comsetic plugins
- use({
- "catppuccin/nvim",
- as = "catppuccin",
- config = function()
- require("catppuccin").setup({
- flavour = "mocha", -- mocha, macchiato, frappe, latte
- integrations = {
- barbar = true,
- gitsigns = true,
- lightspeed = true,
- cmp = true,
- nvimtree = true,
- treesitter_context = true,
- treesitter = true,
- telescope = true,
- lsp_trouble = true,
- },
- no_italic = true,
- })
- vim.api.nvim_command("colorscheme catppuccin")
- end,
- })
-
- if Packer_bootstrap then
- require("packer").sync()
- end
-end)