nvim: init: Enable filetype.lua and disable filetype.vim
See the below threads https://github.com/neovim/neovim/pull/16600 https://www.reddit.com/r/neovim/comments/rvwsl3/introducing_filetypelua_and_a_call_for_help/ https://neovim.discourse.group/t/introducing-filetype-lua-and-a-call-for-help/1806
This commit is contained in:
parent
4151be1e4b
commit
9316c06aa2
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ vim.o.scrolloff = 999
|
|||
vim.o.formatoptions = "crqn1j"
|
||||
vim.o.signcolumn = "auto:1-2"
|
||||
|
||||
-- Disable filetype.vim and use only filetype.lua
|
||||
vim.g.do_filetype_lua = 1
|
||||
vim.g.did_load_filetypes = 0
|
||||
|
||||
vim.g.python3_host_prog = '/usr/bin/python3'
|
||||
-- Disable providers we do not give a shit about
|
||||
vim.g.loaded_python_provider = 0
|
||||
|
|
Loading…
Reference in a new issue