summaryrefslogtreecommitdiff
path: root/.config/nvim/init.lua
blob: d8e409cdcba099ec5602f67b2329a5020a6ee605 (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
--
-- getchoo's neovim config (but in lua :p)
--

local cmd = vim.cmd
local opt = vim.opt

vim.g.use_lsp_plugins = true
vim.g.use_mason = false

require("getchoo.plugins")
if vim.g.use_lsp_plugins then
  require("getchoo.ftdetect")
  require("getchoo.lsp")
end

-- text options
opt.tabstop = 2
opt.shiftwidth = 2
opt.expandtab = true
opt.smartindent = true
opt.wrap = false

-- appearance
opt.syntax = "on"
cmd("filetype plugin indent on")
cmd("colorscheme nord")
opt.termguicolors = true