mirror of
https://github.com/neovim/neovim.git
synced 2025-11-24 19:20:39 +00:00
vim-patch:9.1.0826: filetype: sway files are not recognized
Problem: filetype: sway files are not recognized
Solution: detect '*.sw' files as sway filetype, include
a filetype plugin (Riley Bruins)
References:
https://github.com/FuelLabs/sway.
Comments taken from their syntax documentation. File extension taken
from the same documentation/GitHub's own recognition of these file types
closes: vim/vim#15973
84b5b1c660
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
committed by
Christian Clason
parent
f5933d196b
commit
db46b58569
@@ -1151,6 +1151,7 @@ local extension = {
|
||||
sface = 'surface',
|
||||
svelte = 'svelte',
|
||||
svg = 'svg',
|
||||
sw = 'sway',
|
||||
swift = 'swift',
|
||||
swiftinterface = 'swift',
|
||||
swig = 'swig',
|
||||
|
||||
Reference in New Issue
Block a user