feat(nvim): add colorsheme

This commit is contained in:
2021-03-21 10:42:31 +08:00
parent ae17189a67
commit 1c8c8fad3d
3 changed files with 17 additions and 9 deletions
+4 -2
View File
@@ -19,14 +19,16 @@ require "colorizer".setup()
local cmd = vim.cmd
local g = vim.g
cmd "colorscheme base16-onedark"
cmd "colorscheme darcula"
cmd "syntax enable"
cmd "syntax on"
cmd "set tabstop=4"
cmd "autocmd BufWritePre * undojoin | Neoformat"
g.auto_save = 1
g.auto_save = 0
g.indentLine_enabled = 1
g.indentLine_char_list = {'▏'}
g.XkbSwitchEnabled = 1
g.mapleader = " "