dotfiles/dot-config/nvim/lua/options.lua

21 lines
570 B
Lua

require "nvchad.options"
local o = vim.o
local g = vim.g
o.tabstop = 4 -- A TAB character looks like 4 spaces
o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character
o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character
o.shiftwidth = 4 -- Number of spaces inserted when indenting
o.cursorlineopt ='both' -- to enable cursor line!
if g.neovide then
o.guifont = "JetBrainsMono Nerd Font Mono:h14"
g.neovide_cursor_trail_size = 0.3
end
vim.filetype.add({
extension = {
lnibuild = "bash"
}
})