From 5e605a4bd61ced98200b460afeeab009f0b3009f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasuhiro=20=D0=AF=D1=88=D0=B0=20Asaka?= Date: Sun, 5 Feb 2023 10:16:59 +0900 Subject: [PATCH 1/2] Fix ftdetect sourcing issue This change removes an unnecessary aug[roup] in ftdetct. Because the use of au[tocmd] under ftdetect directory is already surrounded by an aug[roup] by default. See help :ftdetct --- ftdetect/purescript.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ftdetect/purescript.vim b/ftdetect/purescript.vim index 094ecfb..35d995c 100644 --- a/ftdetect/purescript.vim +++ b/ftdetect/purescript.vim @@ -1,6 +1,4 @@ +" vint: -ProhibitAutocmdWithNoGroup scriptencoding utf-8 -augroup filetype_purescript - autocmd! - autocmd BufNewFile,BufRead *.purs setf purescript -augroup END +autocmd BufNewFile,BufRead *.purs setf purescript From 0148067d12fca68767fd69c7d8c8d5c7aa849fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasuhiro=20=D0=AF=D1=88=D0=B0=20Asaka?= Date: Sun, 5 Feb 2023 10:34:13 +0900 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8227557..c4d7654 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Bugfixes: - docs did not reflect the code in using the `g:` prefix for indentation configuration [p73][] - some Unicode characters were not accounted for for the indentation [p84][] - highlight all bicameral scripts, not just Latin ones [p85][] + - remove unnecessary aug[roup] use in ftdetct [p91][] Other improvements: - rename default branch to `main`, clarify readme, add changelog [p73][]