Skip to content
/ syfe Public

(sy)ntax highlighting, (f)olding, and whit(e)space management

License

Notifications You must be signed in to change notification settings

ratmav/syfe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syfe

(sy)ntax highlighting, (f)olding, and whit(e)space management

installation

use git or your plugin manager of choice to install syfe.

syntax, indentation, and folding

  • go
    • autoindentation; 8 spaces per tab.
  • makefile
    • autoindentation; 8 spaces per tab.
  • markdown
    • syntax highlighting, including fenced code blocks.
  • python
    • indentation-based folding.
  • vimscript
  • yaml
    • autoindention on -, =, 0, or # characters.

whitespace management

display

syfe will highlight trailing whitespace when entering a modifiable buffer.

commands

  • SyfeWhitespaceClear: call to remove any trailing whitespace in a modifiable buffer.

mapping example

add the following to your vim configuration to remove trailing whitespace by pressing Leader-w:

" syfe:
nnoremap <silent><Leader>w :execute 'SyfeWhitespaceClear'<CR>

acknowledgements

About

(sy)ntax highlighting, (f)olding, and whit(e)space management

Topics

Resources

License

Stars

Watchers

Forks