From b677662c8c5196cdeaa7c43a90be3fff22f66ee8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 28 Sep 2023 03:01:20 +0200 Subject: nvim: Autodetect GSP files --- .config/nvim/.gitignore | 3 ++- .config/nvim/ftdetect/gsp.vim | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .config/nvim/ftdetect/gsp.vim (limited to '.config') diff --git a/.config/nvim/.gitignore b/.config/nvim/.gitignore index c4f171b..b32663f 100644 --- a/.config/nvim/.gitignore +++ b/.config/nvim/.gitignore @@ -1,4 +1,5 @@ -/ftdetect +/ftdetect/* +!/ftdetect/gsp.vim /ftplugin /indent /plugin diff --git a/.config/nvim/ftdetect/gsp.vim b/.config/nvim/ftdetect/gsp.vim new file mode 100644 index 0000000..6efd387 --- /dev/null +++ b/.config/nvim/ftdetect/gsp.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile *.gsp setf gsp -- cgit v1.2.3