diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-06-24 16:34:51 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-06-24 16:34:51 +0800 |
commit | 2a1645ae9593114514a7f28fa6d9109d1820375d (patch) | |
tree | bab2ac0a019ca9af961a04b2a58f0bac3d49bdeb /vim/nvim/lua/options.lua | |
parent | fdb53f590cef5499b14322d22fee47722b135626 (diff) |
Update
Diffstat (limited to 'vim/nvim/lua/options.lua')
-rw-r--r-- | vim/nvim/lua/options.lua | 20 |
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 @@ | |||
1 | require "nvchad.options" | ||
2 | |||
3 | -- add yours here! | ||
4 | |||
5 | local o = vim.o | ||
6 | |||
7 | -- To enable cursorline! | ||
8 | o.cursorlineopt ='both' | ||
9 | |||
10 | -- Let cursor be line in insert mode | ||
11 | o.guicursor = "n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20" | ||
12 | |||
13 | -- Enable break indent | ||
14 | o.breakindent = true | ||
15 | |||
16 | -- To have a better completion experience | ||
17 | o.completeopt = 'menuone,noselect' | ||
18 | |||
19 | -- NOTE: You should make sure your terminal supports this | ||
20 | o.termguicolors = true | ||