传单是什么病
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 26, 2021 at 14:08 | comment | added | Rich |
@Annibale figuring out how to find things in the :help is an art in and of itself ;)
|
|
Feb 26, 2021 at 11:27 | comment | added | Annibale |
@Rich thank you, I was looking to :help filetype unfortunately...
|
|
Feb 26, 2021 at 9:10 | comment | added | Rich |
@Annibale See the part under :help 'filetype' that begins "When a dot"
|
|
Feb 26, 2021 at 7:59 | comment | added | Annibale |
Thank you @D.BenKnoble . I believe it's quite doing the job. The only thing I can imagine that it's not covered is the ftdetect itself: if I have custom rules for zsh the wanted behavior would be to extend filetype also for them, but maybe it's just a matter of sorting the commands. Can you point me the reference for multiple filetypes? I cannot find it in the docs...
|
|
Feb 25, 2021 at 21:17 | comment | added | D. Ben Knoble |
This might not work in every case, but you can have a buffer with multiple filetypes (I exploit this for github.com/benknoble/wiki-md): set filetype=sh.bash.zsh
|
|
Feb 25, 2021 at 20:20 | review | First posts | |||
Feb 25, 2021 at 22:29 | |||||
Feb 25, 2021 at 20:11 | history | asked | Annibale | CC BY-SA 4.0 |