summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/options.lua
blob: afbcb0ca3074eeb65e70ea2815bf27fef9b1e54d (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
vim.opt.termguicolors = true
vim.opt.showmode = false
vim.opt.path = '.,,**'

-- Fix split spaw location
vim.opt.splitbelow = true
vim.opt.splitright = true
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.cursorline = true

vim.opt.autoindent = true
vim.opt.expandtab = false
vim.opt.tabstop = 4
vim.opt.shiftwidth = 0
vim.opt.list = true

vim.opt.laststatus = 2
vim.opt.foldmethod = 'marker'

vim.opt.mouse = 'a'
vim.opt.scrolloff = 15

vim.opt.synmaxcol = 300

vim.opt.wildoptions = 'tagfile'

vim.g.lsp_langs = { 'c', 'cpp', 'rust', 'php', 'lua', 'sh' }
vim.g.ts_langs = { 'c', 'cpp', 'rust', 'php', 'lua' }

vim.g.editorconfig = true