From 36c47f574bf9cec642dc0a7cc60500b2269ee768 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 22 May 2024 11:48:17 -0500 Subject: [PATCH] nvim be nvimming as always --- home/private_dot_config/nvim/lua/config/options.lua | 7 +++++++ home/private_dot_config/nvim/spell/en.utf-8.add | 2 ++ 2 files changed, 9 insertions(+) diff --git a/home/private_dot_config/nvim/lua/config/options.lua b/home/private_dot_config/nvim/lua/config/options.lua index 07ab75c..1e380ad 100644 --- a/home/private_dot_config/nvim/lua/config/options.lua +++ b/home/private_dot_config/nvim/lua/config/options.lua @@ -10,5 +10,12 @@ vim.opt.timeoutlen = 200 vim.g.autoformat = false + +-- make .roc files have the correct filetype +vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, { + pattern = { "*.roc" }, + command = "set filetype=roc", +}) + -- https://github.com/ziglang/zig.vim/issues/51#issuecomment-1637180522 vim.g.zig_fmt_autosave = 0 diff --git a/home/private_dot_config/nvim/spell/en.utf-8.add b/home/private_dot_config/nvim/spell/en.utf-8.add index a0aaea0..e6cbb48 100644 --- a/home/private_dot_config/nvim/spell/en.utf-8.add +++ b/home/private_dot_config/nvim/spell/en.utf-8.add @@ -53,3 +53,5 @@ UMI conda barcoding Al'Khafaji +Zig +Roc