Detect .bashrc as sh files in vim #6

Closed
opened 2025-10-20 00:11:12 +02:00 by yestax · 1 comment
Owner

In vim, the filetype can be guessed using ftplugin. This introduces syntaxic color, smartindentation.

Could be great to be able to change nehaviour on filetype detection

see /usr/share/vim/vim91/filetype.vim for how it works

.bashrc file are not recognised and the syntaxic colorization doesn't work

In vim, the filetype can be guessed using ftplugin. This introduces syntaxic color, smartindentation. Could be great to be able to change nehaviour on filetype detection see /usr/share/vim/vim91/filetype.vim for how it works .bashrc file are not recognised and the syntaxic colorization doesn't work
yestax self-assigned this 2025-10-20 00:11:12 +02:00
Author
Owner

see :help new-filetype
and ftdetect directory

see :help new-filetype and ftdetect directory
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yestax/setup#6
No description provided.