Skip to content

Commit fd61ff3

Browse files
committed
Set ft=markdown.agda for *.lagda.md
This allows the markdown treesitter plugin to run automatically. Previously the intention was to set ft=agda.markdown, but this indicates that agda is the primary filetype, when this is not true. Furthermore, this would not be set since it would be overwritten by the *.lagda.* autocommand. Fixes #157
1 parent 2f43eb1 commit fd61ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftdetect/agda.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
au BufNewFile,BufRead *.agda setlocal filetype=agda
22
au BufNewFile,BufRead *.lagda setlocal filetype=agda
3-
au BufNewFile,BufRead *.lagda.md setlocal filetype=agda.markdown
43
au BufNewFile,BufRead *.lagda.* setlocal filetype=agda
4+
au BufNewFile,BufRead *.lagda.md setlocal filetype=markdown.agda
55

0 commit comments

Comments
 (0)