diff options
author | louie <louie@example.com> | 2022-06-22 20:12:42 -0700 |
---|---|---|
committer | louie <louie@example.com> | 2022-06-22 20:12:42 -0700 |
commit | 95bce4610af5ccc7cee4d68633ce6b7af5fe342b (patch) | |
tree | b3383113afbc2732b4269cb1c26903c752a73184 /lua/user/options.lua |
First commit
Diffstat (limited to 'lua/user/options.lua')
-rw-r--r-- | lua/user/options.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lua/user/options.lua b/lua/user/options.lua new file mode 100644 index 0000000..338d207 --- /dev/null +++ b/lua/user/options.lua @@ -0,0 +1,29 @@ +-- Syntax Highlighting Settings +vim.syntax = true --turn on syntax highlighting +vim.cmd("colorscheme slate") --set colorscheme to slate + +-- Misc. Settings +vim.opt.hlsearch = true --highlight search matches +vim.opt.number = true --number rows +vim.opt.shiftwidth = 4 --set shiftwidth +vim.opt.smartindent = true --auto-indent +vim.opt.tabstop = 4 --set tab length + +-- Fold Settings +vim.opt.foldmethod = "indent" --enable fold detection +vim.opt.foldlevelstart = 20 --set initial fold + +-- Color Settings [TODO] +--highlight Pmenu ctermbg=White ctermfg=Black guibg=Gray + +-- Additional Settings from Video Series +-- :help options +-- Autocomplete Settings +vim.opt.completeopt = { "menuone", "noselect" } -- show menu even if only one entry; do not auto-select from menu +vim.opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time +vim.opt.shortmess:append "c" -- for autocompletion, don't give standard messages +-- Misc. Settings +vim.opt.conceallevel = 0 -- do not conceal text +vim.opt.fileencoding = "utf-8" -- the encoding written to a file +--vim.opt.pumheight = 10 -- pop up menu height +--vim.opt.termguicolors = true -- set term gui colors (most terminals support this) |