nvim: Add support for neovide
This commit is contained in:
parent
6f271c5425
commit
f17a8a5a63
|
@ -13,4 +13,7 @@ M = {
|
|||
-- ["@comment"] = { italic = true },
|
||||
-- },
|
||||
}
|
||||
if vim.g.neovide then
|
||||
M.base46.transparency = false
|
||||
end
|
||||
return M
|
||||
|
|
|
@ -1,12 +1,18 @@
|
|||
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"
|
||||
|
|
Loading…
Reference in a new issue