From 62a8641cb059407e80454505c6a41735c09a384f Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 6 Dec 2022 10:58:47 -0800 Subject: [PATCH 1/3] Fix filetype detection --- init.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.fnl b/init.fnl index e2edab5..8d17358 100644 --- a/init.fnl +++ b/init.fnl @@ -91,7 +91,7 @@ (vim.filetype.add { :filename { ".latexmkrc" :perl "Jenkinsfile" :groovy } - :extensions { + :extension { "nasm" :nasm "h" :c "ui" :xml }}) From ffb8097174c669c2eb81207ba66c139a668c8d27 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 6 Dec 2022 12:51:56 -0800 Subject: [PATCH 2/3] Ignore spell/ --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 7c562bb..01610d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /lua/ /plugin/ +/spell/ From eaee2be5ef6ee0cb439b22b2f8b8afe0e1ecd3c6 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 6 Dec 2022 13:15:24 -0800 Subject: [PATCH 3/3] Re-enable netrw --- init.fnl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/init.fnl b/init.fnl index 8d17358..bc3b398 100644 --- a/init.fnl +++ b/init.fnl @@ -53,10 +53,6 @@ ; Allow more freedom with the cursor (set vim.opt.virtualedit :block) -;; Disable netrw -(set vim.g.loaded_netrw 1) -(set vim.g.loaded_netrwPlugin 1) - ;; Remove trailing whitespace (fn remove-trailing-whitespace [] "Remove trailing whitespace from the whole file."