diff --git a/.config/nvim/lua/my/functions.lua b/.config/nvim/lua/my/functions.lua index 6c70b8c..461bb1a 100644 --- a/.config/nvim/lua/my/functions.lua +++ b/.config/nvim/lua/my/functions.lua @@ -38,11 +38,11 @@ function M.insert_modeline() local modeline_elements = { ' vim: set', - ' fenc=' .. fenc, ' ts=' .. vim.o.tabstop, ' sw=' .. vim.o.shiftwidth, (vim.o.expandtab and ' et' or ' noet'), ' tw=' .. vim.o.textwidth, + ' ft=' .. vim.o.filetype, ':', space_maybe }