Skip to content

Commit

Permalink
vim: Change filetype detector
Browse files Browse the repository at this point in the history
  • Loading branch information
yutkat committed Jan 5, 2022
1 parent 44dc66c commit aa4957f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .config/nvim/lua/rc/pluginlist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ return require('packer').startup(function(use)
--------------------------------
-- Filetype detection
-- use {'vitalk/vim-shebang'} -- -> vim-polyglot
use {'nathom/filetype.nvim', setup = function() vim.g.did_load_filetypes = 1 end}
-- use do_filetype_lua
-- use {'nathom/filetype.nvim', setup = function() vim.g.did_load_filetypes = 1 end}

--------------------------------
-- Layout
Expand Down
3 changes: 3 additions & 0 deletions .config/nvim/rc/base.nvim
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
let g:loaded_python_provider=0
let g:loaded_ruby_provider=0
let g:loaded_perl_provider=0
let g:do_filetype_lua = 1
let g:did_load_filetypes = 0


" nvim color
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
Expand Down

0 comments on commit aa4957f

Please sign in to comment.