From 90bc40553304889cfd8c953712faaf082b73711a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 7 Apr 2023 19:06:43 +0300 Subject: nvim: use native filetype --- .config/nvim/lua/settings.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.config/nvim/lua/settings.lua') 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 @@ -- │▀▀ ▝▀▘ ▀ ▀ ▀▘▘ ▘▗▄▘▀▀ │ -- └───────────────────────┘ -local o = vim.o -- gl[o]bal options +local o = vim.o -- [o]ptions local wo = vim.wo -- [w]indow-local [o]ptions local bo = vim.bo -- [b]uffer-local [o]ptions +local go = vim.go -- [g]lobal [o]ptions local opt = vim.opt -- convenient :set -- neovim filetype lua -vim.g.do_filetype_lua = true -vim.g.did_load_filetypes = false +go.do_filetype_lua = true +go.did_load_filetypes = false -- look & feel o.termguicolors = true -- cgit v1.2.3-70-g09d2