Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mipmip/vim-fluid
Vim plugin for the Fluid Template Engine, indenting, and syntax plugin. Integrated HTML, JavaScript and CSS indention and highlighting.
https://github.com/mipmip/vim-fluid
extbase fluid-template-engine typo3 vim
Last synced: 24 days ago
JSON representation
Vim plugin for the Fluid Template Engine, indenting, and syntax plugin. Integrated HTML, JavaScript and CSS indention and highlighting.
- Host: GitHub
- URL: https://github.com/mipmip/vim-fluid
- Owner: mipmip
- Created: 2016-06-15T20:54:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-22T12:04:09.000Z (over 8 years ago)
- Last Synced: 2024-10-25T01:40:30.272Z (2 months ago)
- Topics: extbase, fluid-template-engine, typo3, vim
- Language: VimL
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-fluid
Vim plugin for the [Fluid Template Engine](https://en.wikipedia.org/wiki/TYPO3_Flow#Fluid_template_engine) offering indention and syntax highlighting for fluid code together with plain HTML and JavaScript and CSS code.
Fluid is the core template engine of [TYPO3](http://typo3.org).
## Usage
vim-fluid autodetects .fluid files but in most cases your files will end
with ```.html```, so you should set a modeline on top of your file. E.g.:```
```
## Example
```:ggVG``` produces this indenting
```html
if (x=1){
var x=e;
}
.class-x {
color:white;
}
```
## Contributing
1. Fork it ( https://github.com/mipmip/vim-fluid/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## Credits
- Fluid-vim uses an awful lot of code from https://github.com/othree/html5.vim
- Fluid-vim is sponsored by [Lingewoud](http://lingewoud.com)![image](http://picdrop.t3lab.com/yCWqnH5FWq.png)