summaryrefslogtreecommitdiff
path: root/users/seth/programs/neovim/lua/init.lua
diff options
context:
space:
mode:
authorseth <[email protected]>2022-12-02 02:12:40 -0500
committerseth <[email protected]>2022-12-02 02:12:40 -0500
commitb673b76f41a1f48c38acb9b67657e097e5b8a61f (patch)
treefe0090a667d419d6a27544c492d1e911eb6541ff /users/seth/programs/neovim/lua/init.lua
parentaca5eff381f76bc29f25191efc281ccf50cf0e3e (diff)
now *most* things work :p
Diffstat (limited to 'users/seth/programs/neovim/lua/init.lua')
-rw-r--r--users/seth/programs/neovim/lua/init.lua39
1 files changed, 39 insertions, 0 deletions
diff --git a/users/seth/programs/neovim/lua/init.lua b/users/seth/programs/neovim/lua/init.lua
new file mode 100644
index 0000000..262f556
--- /dev/null
+++ b/users/seth/programs/neovim/lua/init.lua
@@ -0,0 +1,39 @@
+--
+-- getchoo's neovim config (but in lua :p)
+--
+
+local cmd = vim.cmd
+local opt = vim.opt
+
+require("getchoo")
+require("getchoo.ftdetect")
+require("getchoo.lsp")
+
+-- text options
+opt.tabstop = 2
+opt.shiftwidth = 2
+opt.expandtab = false
+opt.smartindent = true
+opt.wrap = false
+
+-- appearance
+opt.syntax = "on"
+cmd("filetype plugin indent on")
+opt.termguicolors = true
+
+require("catppuccin").setup({
+ flavour = "mocha", -- mocha, macchiato, frappe, latte
+ integrations = {
+ barbar = true,
+ gitsigns = true,
+ lightspeed = true,
+ mason = true,
+ cmp = true,
+ nvimtree = true,
+ treesitter_context = true,
+ treesitter = true,
+ telescope = true,
+ lsp_trouble = true,
+ },
+})
+vim.api.nvim_command("colorscheme catppuccin")