#W# Initial Commit: NixOS
This commit is contained in:
commit
f79adc1a63
77 changed files with 15125 additions and 0 deletions
22
home-manager/modules/nvim/options.nix
Executable file
22
home-manager/modules/nvim/options.nix
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
{ ... }: {
|
||||
xdg.configFile."nvim/lua/options.lua".text = ''
|
||||
local opt = vim.opt
|
||||
opt.showmode = false
|
||||
opt.number = true
|
||||
opt.relativenumber = true
|
||||
opt.tabstop = 4
|
||||
opt.shiftwidth = 4
|
||||
opt.expandtab = true
|
||||
opt.autoindent = true
|
||||
opt.smartindent = true
|
||||
opt.termguicolors = true
|
||||
opt.background = "dark"
|
||||
opt.signcolumn = "yes"
|
||||
opt.cursorline = true
|
||||
opt.listchars = "tab: ,multispace:| ,eol:"
|
||||
opt.list = true
|
||||
opt.winborder = "rounded"
|
||||
opt.backspace = "indent,eol,start"
|
||||
opt.clipboard:append("unnamedplus")
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue