Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

sgur/vim-editorconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-editorconfig

Yet another Vim plugin for EditorConfig

Importants

The official editorconfig-vim has no external dependencies. It doesn't require if_python interface anymore.

See #119 for details.

Description

Supported Properties

  • charset
  • end_of_line
  • indent_size
  • indent_style
  • insert_final_newline
  • max_line_length
  • root
  • tab_width
  • trim_trailing_whitespace

Properties below are enabled only in this plugin:

  • c_include_path
  • spell_language

Usage

  1. Install the plugin
  2. Locate .editorconfig
  3. Edit some files

Options

g:editorconfig_blacklist

Exclude regexp patterns for filetypes or filepaths

let g:editorconfig_blacklist = {
    \ 'filetype': ['git.*', 'fugitive'],
    \ 'pattern': ['\.un~$']}

g:editorconfig_root_chdir

Automatically :lcd If root = true exists in .editorconfig.

g:editorconfig_verbose

Show verbose messages

let g:editorconfig_verbose = 1 " 0 by default

Install

Use your favorite plugin manager.

License

MIT License

Author

sgur

About

Yet another EditorConfig (http://editorconfig.org) plugin for vim written in vimscript only

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published