aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/nvim/lua/options.lua
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-06-24 16:34:51 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-06-24 16:34:51 +0800
commit2a1645ae9593114514a7f28fa6d9109d1820375d (patch)
treebab2ac0a019ca9af961a04b2a58f0bac3d49bdeb /vim/nvim/lua/options.lua
parentfdb53f590cef5499b14322d22fee47722b135626 (diff)
Update
Diffstat (limited to 'vim/nvim/lua/options.lua')
-rw-r--r--vim/nvim/lua/options.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/vim/nvim/lua/options.lua b/vim/nvim/lua/options.lua
new file mode 100644
index 0000000..f9e6e7e
--- /dev/null
+++ b/vim/nvim/lua/options.lua
@@ -0,0 +1,20 @@
1require "nvchad.options"
2
3-- add yours here!
4
5local o = vim.o
6
7-- To enable cursorline!
8o.cursorlineopt ='both'
9
10-- Let cursor be line in insert mode
11o.guicursor = "n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20"
12
13-- Enable break indent
14o.breakindent = true
15
16-- To have a better completion experience
17o.completeopt = 'menuone,noselect'
18
19-- NOTE: You should make sure your terminal supports this
20o.termguicolors = true