mawww / kakoune

mawww's experiment for a better code editor
http://kakoune.org
The Unlicense
9.99k stars 715 forks source link

SQL filetype detection: Correctly match against '.sql' file extension, not 'sql' suffix. #5224

Closed sjjf closed 2 months ago

sjjf commented 2 months ago

The SQL filetype detection currently matches against a 'sql' suffix on the filename, which incorrectly matches a filename like 'run-psql'. Instead, explicitly match against a '.sql' suffix.