diff --git a/users/gandalf/modules/neovim/config/lua/config/options.lua b/users/gandalf/modules/neovim/config/lua/config/options.lua index 3ea1454..77ef947 100644 --- a/users/gandalf/modules/neovim/config/lua/config/options.lua +++ b/users/gandalf/modules/neovim/config/lua/config/options.lua @@ -1,3 +1,6 @@ -- Options are automatically loaded before lazy.nvim startup -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here + +-- Set the filetype for .y files to be the same as .lex files +vim.api.nvim_exec([[ au BufRead,BufNewFile *.y set filetype=lex ]], false)