├── .gitignore └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.gitignore.io/api/vim,macos,linux,windows 2 | 3 | ### Linux ### 4 | *~ 5 | 6 | # temporary files which can be created if a process still has a handle open of 7 | # a deleted file 8 | .fuse_hidden* 9 | 10 | # KDE directory preferences 11 | .directory 12 | 13 | # Linux trash folder which might appear on any partition or disk 14 | .Trash-* 15 | 16 | # .nfs files are created when an open file is removed but is still being 17 | # accessed 18 | .nfs* 19 | 20 | ### macOS ### 21 | *.DS_Store 22 | .AppleDouble 23 | .LSOverride 24 | 25 | # Icon must end with two \r 26 | Icon 27 | 28 | # Thumbnails 29 | ._* 30 | 31 | # Files that might appear in the root of a volume 32 | .DocumentRevisions-V100 33 | .fseventsd 34 | .Spotlight-V100 35 | .TemporaryItems 36 | .Trashes 37 | .VolumeIcon.icns 38 | .com.apple.timemachine.donotpresent 39 | 40 | # Directories potentially created on remote AFP share 41 | .AppleDB 42 | .AppleDesktop 43 | Network Trash Folder 44 | Temporary Items 45 | .apdisk 46 | 47 | ### Vim ### 48 | # swap 49 | [._]*.s[a-v][a-z] 50 | [._]*.sw[a-p] 51 | [._]s[a-v][a-z] 52 | [._]sw[a-p] 53 | # session 54 | Session.vim 55 | # temporary 56 | .netrwhist 57 | # auto-generated tag files 58 | tags 59 | 60 | ### Windows ### 61 | # Windows thumbnail cache files 62 | Thumbs.db 63 | ehthumbs.db 64 | ehthumbs_vista.db 65 | 66 | # Folder config file 67 | Desktop.ini 68 | 69 | # Recycle Bin used on file shares 70 | $RECYCLE.BIN/ 71 | 72 | # Windows Installer files 73 | *.cab 74 | *.msi 75 | *.msm 76 | *.msp 77 | 78 | # Windows shortcuts 79 | *.lnk 80 | 81 | # End of https://www.gitignore.io/api/vim,macos,linux,windows 82 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # vim-js 2 | 3 | Collection of settings and plugins to work effectively with JS. 4 | 5 | # Workflows 6 | 7 | - maybe animated gifs for things you commonly do 8 | 9 | # General Plugins 10 | 11 | Make use of the following template when adding plugins: 12 | 13 | ``` 14 | ## [Name](http://github.com/...) 15 | 16 | it does the following 17 | 18 | ### Features 19 | ### Options 20 | ### Missing Things 21 | ``` 22 | Feel free to open an issue if you have suggestions for improvement. 23 | 24 | ## [vim-javascript](https://github.com/pangloss/vim-javascript) 25 | 26 | vim-javascript is a bundle which improve default JavaScript syntax highlighting 27 | and indentation. It provides syntax highlight for modern JavaScript features and 28 | is maintained by an active community. 29 | 30 | ### Features 31 | 32 | - provides syntax highlight for modern features of JavaScript. 33 | - improves default indentation for JavaScript's filetype. 34 | - use `eslint` as the default compiler. 35 | - set `filetype` to `javascript` for files ending with `js, jsm, es, es6` as 36 | as well as scripts which have a node shebang. 37 | - supports [flow](https://flow.org) through `g:javascript_plugin_flow` option. 38 | - supports [JSDoc](http://usejsdoc.org/) throug `g:javascript_plugin_jsdoc` 39 | option. 40 | - suports [ngdoc](https://github.com/angular/angular.js/wiki/Writing-AngularJS-Documentation) 41 | through `g:javascript_plugin_ngdoc` option. 42 | - adds JavaScript ctags patterns. 43 | 44 | ### Options 45 | 46 | - `let g:javascript_plugin_jsdoc`: enables JSDoc syntax highlight. 47 | - `let g:javascript_plugin_jsdoc`: enables ngdoc syntax highlight. 48 | - `let g:javascript_plug_flow`: enables flow syntax highlight. 49 | 50 | ### Missing Things 51 | 52 | This plugin mainly covers syntax highlight and indentation with some extras. It 53 | doesn't provide any linter, neither syntax completion for most JavaScript / 54 | frameworks / librairies like `node.js`, `Angular`, `React`, `Vue`, `Electron`... 55 | 56 | # Ressources 57 | 58 | - links to external pages 59 | 60 | # Frameworks 61 | 62 | ## React 63 | 64 | ### Plugins 65 | 66 | ## Webpack 67 | 68 | ### Plugins 69 | --------------------------------------------------------------------------------