diff options
author | Yigit Sever | 2023-04-07 19:06:43 +0300 |
---|---|---|
committer | Yigit Sever | 2023-06-07 21:17:38 +0300 |
commit | 90bc40553304889cfd8c953712faaf082b73711a (patch) | |
tree | 331e41f3d1e7ed6fe8f151f8a2a01d335b1a0fd1 /.config/nvim/lua/settings.lua | |
parent | 742dc3386de424c8f3a383fe574c24839ed98e74 (diff) | |
download | dotfiles-90bc40553304889cfd8c953712faaf082b73711a.tar.gz dotfiles-90bc40553304889cfd8c953712faaf082b73711a.tar.bz2 dotfiles-90bc40553304889cfd8c953712faaf082b73711a.zip |
nvim: use native filetype
Diffstat (limited to '.config/nvim/lua/settings.lua')
-rw-r--r-- | .config/nvim/lua/settings.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index 2418a5b..27ad40d 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua | |||
@@ -5,14 +5,15 @@ | |||
5 | -- │▀▀ ▝▀▘ ▀ ▀ ▀▘▘ ▘▗▄▘▀▀ │ | 5 | -- │▀▀ ▝▀▘ ▀ ▀ ▀▘▘ ▘▗▄▘▀▀ │ |
6 | -- └───────────────────────┘ | 6 | -- └───────────────────────┘ |
7 | 7 | ||
8 | local o = vim.o -- gl[o]bal options | 8 | local o = vim.o -- [o]ptions |
9 | local wo = vim.wo -- [w]indow-local [o]ptions | 9 | local wo = vim.wo -- [w]indow-local [o]ptions |
10 | local bo = vim.bo -- [b]uffer-local [o]ptions | 10 | local bo = vim.bo -- [b]uffer-local [o]ptions |
11 | local go = vim.go -- [g]lobal [o]ptions | ||
11 | local opt = vim.opt -- convenient :set | 12 | local opt = vim.opt -- convenient :set |
12 | 13 | ||
13 | -- neovim filetype lua | 14 | -- neovim filetype lua |
14 | vim.g.do_filetype_lua = true | 15 | go.do_filetype_lua = true |
15 | vim.g.did_load_filetypes = false | 16 | go.did_load_filetypes = false |
16 | 17 | ||
17 | -- look & feel | 18 | -- look & feel |
18 | o.termguicolors = true | 19 | o.termguicolors = true |