8000 GitHub - vitalk/vim-shebang: Vim filetype detection by the she·bang line at file.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vitalk/vim-shebang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Vim filetype detection by the she·bang line at file.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0