2024-10-25 11:48:49 +00:00
|
|
|
require "nvchad.options"
|
|
|
|
|
2024-11-09 14:30:08 +00:00
|
|
|
local o = vim.o
|
2024-11-22 18:10:08 +00:00
|
|
|
local g = vim.g
|
2024-11-09 14:30:08 +00:00
|
|
|
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
|
2024-11-22 18:10:08 +00:00
|
|
|
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
|
2024-11-09 14:30:08 +00:00
|
|
|
|
|
|
|
vim.filetype.add({
|
|
|
|
extension = {
|
|
|
|
lnibuild = "bash"
|
|
|
|
}
|
|
|
|
})
|