Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vitalk/vim-shebang
Vim filetype detection by the she·bang line at file.
https://github.com/vitalk/vim-shebang
detection filetype vim
Last synced: 10 days ago
JSON representation
Vim filetype detection by the she·bang line at file.
- Host: GitHub
- URL: https://github.com/vitalk/vim-shebang
- Owner: vitalk
- Created: 2012-11-13T14:21:06.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T06:17:13.000Z (over 2 years ago)
- Last Synced: 2024-10-12T10:14:02.801Z (26 days ago)
- Topics: detection, filetype, vim
- Language: Vim script
- Homepage:
- Size: 12.7 KB
- Stars: 30
- Watchers: 3
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
VIM-SHEBANG
Vim filetype detection by the she·bang /SHəˈbaNG/ at file if all built-ins type
detection mechanisms are failed.USE
Plugin does not require any configuration. Every time you enter to buffer it
trying to detect current filetype by shebang at first line. New filetype applied
to file on success. Use '!#' shortcut to force reset filetype.Some basic shebang patterns for common languages included in distribution, such
as python, ruby, different shells. But if that do not covers your needs feel
free to add your own. For example:AddShebangPattern! lua ^#!.*/bin/env\s\+lua\>
COPYRIGHT
Copyright © 2012 Vital Kudzelka.
Use it for Good not Evil.