summaryrefslogtreecommitdiff
path: root/users/seth/programs/neovim/lua/init.lua
blob: 262f556d1ec1e047e507451c0738ea385ee10bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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")