All Projects â†’ editorconfig â†’ Editorconfig Vim

editorconfig / Editorconfig Vim

Licence: other
EditorConfig plugin for Vim

Programming Languages

Vim Script
2826 projects
powershell
5483 projects
shell
77523 projects
VBScript
123 projects
ruby
36898 projects - #4 most used programming language
CMake
9771 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to Editorconfig Vim

Friendly Code Editor
Try this Friendly Code Editor. You'll love it. I made it with a lot of effort. It has some great features. I will update it adequately later. Very helpful for developers. Enjoy and share.
Stars: ✭ 20 (-99.27%)
Mutual labels:  editorconfig
editorconfig-templates
📝 A collection of useful .editorconfig templates
Stars: ✭ 19 (-99.31%)
Mutual labels:  editorconfig
editorconfig-cli
📝🔧 initialize .editorconfig in your terminal
Stars: ✭ 26 (-99.05%)
Mutual labels:  editorconfig
editorconfig-defaults
No description or website provided.
Stars: ✭ 21 (-99.23%)
Mutual labels:  editorconfig
react-typescript
React16 + HMR + typescript + webpack + tslint + tests
Stars: ✭ 21 (-99.23%)
Mutual labels:  editorconfig
eslint-plugin-editorconfig
An ESLint plugin to enforce EditorConfig rules
Stars: ✭ 22 (-99.2%)
Mutual labels:  editorconfig
pwa
An opinionated progressive web app boilerplate
Stars: ✭ 355 (-87.04%)
Mutual labels:  editorconfig
awesome-react-app
Always the latest version of "create-react-app" with awesome configurations (lint, commit lint, husk, editor config, etc)
Stars: ✭ 44 (-98.39%)
Mutual labels:  editorconfig
eslint-config-with-prettier
Eslint config with prettier
Stars: ✭ 39 (-98.58%)
Mutual labels:  editorconfig
generator-node
🔧 Yeoman generator for Node projects.
Stars: ✭ 16 (-99.42%)
Mutual labels:  editorconfig
SharedInfrastructure
Centralized infrastructure elements for SixLabors projects. (msbuild, linting, shared internals)
Stars: ✭ 19 (-99.31%)
Mutual labels:  editorconfig
editorconfig-checker.javascript
A tool to verify that your files are in harmony with your .editorconfig
Stars: ✭ 59 (-97.85%)
Mutual labels:  editorconfig
code-guide
Code Guidelines : Moved to https://linianhui.github.io/code-guide/
Stars: ✭ 62 (-97.74%)
Mutual labels:  editorconfig
fe-standard-config-seed
ć‰ç«Żé€šç”šä»Łç è§„èŒƒè‡ȘćŠšćŒ–æŽ„ć…„
Stars: ✭ 18 (-99.34%)
Mutual labels:  editorconfig
ace-mode-solidity
Ace ( https://ace.c9.io/ ) Edit Mode for Ethereum's Solidity language ( https://solidity.readthedocs.io/en/latest/ ).
Stars: ✭ 25 (-99.09%)
Mutual labels:  editorconfig
EditorConfig-Action
🔎A GitHub Action to check, enforce & fix EditorConfig style violations
Stars: ✭ 40 (-98.54%)
Mutual labels:  editorconfig
figma-plugin-typescript-boilerplate
Figma plugin TypeScript boilerplate to start developing right away
Stars: ✭ 43 (-98.43%)
Mutual labels:  editorconfig
Editorconfig Sublime
Sublime Text plugin for EditorConfig - Helps developers maintain consistent coding styles between different editors
Stars: ✭ 1,749 (-36.14%)
Mutual labels:  editorconfig
happy-web
Project built during Rocketseat's Next Level Week #3
Stars: ✭ 19 (-99.31%)
Mutual labels:  editorconfig
scala-basic-skeleton
Starting point if you want to bootstrap a project in Scala
Stars: ✭ 16 (-99.42%)
Mutual labels:  editorconfig

EditorConfig Vim Plugin

Travis Build Status Appveyor Build Status

This is an EditorConfig plugin for Vim. This plugin can be found on both GitHub and Vim online.

Installation

To install this plugin, you can use one of the following ways:

Install with the archive

Download the archive and extract it into your Vim runtime directory (~/.vim on UNIX/Linux and $VIM_INSTALLATION_FOLDER\vimfiles on windows). You should have 3 sub-directories in this runtime directory now: "autoload", "doc" and "plugin".

Install as Vim8 plugin

Install as a Vim 8 plugin. Note local can be any name, but some path element must be present. On Windows, instead of ~/.vim use $VIM_INSTALLATION_FOLDER\vimfiles.

mkdir -p ~/.vim/pack/local/start
cd ~/.vim/pack/local/start
git clone https://github.com/editorconfig/editorconfig-vim.git

Install with pathogen

Use pathogen (the git repository of this plugin is https://github.com/editorconfig/editorconfig-vim.git)

Install with Vundle

Use Vundle by adding to your .vimrc Vundle plugins section:

Plugin 'editorconfig/editorconfig-vim'

Then call :PluginInstall.

Install with vim-plug

Use vim-plug by adding to your .vimrc in your plugin section:

Plug 'editorconfig/editorconfig-vim'

Source your .vimrc by calling :source $MYVIMRC.

Then call :PlugInstall.

No external editorconfig core library is required

Previous versions of this plugin also required a Python "core". The core included the code to parse .editorconfig files. This plugin includes the core, so you don't need to download the core separately.

Supported properties

The EditorConfig Vim plugin supports the following EditorConfig properties:

  • indent_style
  • indent_size
  • tab_width
  • end_of_line
  • charset
  • insert_final_newline (Feature +fixendofline, available on Vim 7.4.785+, or PreserveNoEOL is required for this property)
  • trim_trailing_whitespace
  • max_line_length
  • root (only used by EditorConfig core)

Selected Options

The supported options are documented in editorconfig.txt and can be viewed by executing the following: :help editorconfig. You may need to execute :helptags ALL so that Vim is aware of editorconfig.txt.

Excluded patterns

To ensure that this plugin works well with Tim Pope's fugitive, use the following patterns array:

let g:EditorConfig_exclude_patterns = ['fugitive://.*']

If you wanted to avoid loading EditorConfig for any remote files over ssh:

let g:EditorConfig_exclude_patterns = ['scp://.*']

Of course these two items could be combined into the following:

let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']

Disable for a specific filetype

You can disable this plugin for a specific buffer by setting b:EditorConfig_disable. Therefore, you can disable the plugin for all buffers of a specific filetype. For example, to disable EditorConfig for all git commit messages (filetype gitcommit):

au FileType gitcommit let b:EditorConfig_disable = 1

Disable rules

In very rare cases, you might need to override some project-specific EditorConfig rules in global or local vimrc in some cases, e.g., to resolve conflicts of trailing whitespace trimming and buffer autosaving. This is not recommended, but you can:

let g:EditorConfig_disable_rules = ['trim_trailing_whitespace']

You are able to disable any supported EditorConfig properties.

Bugs and Feature Requests

Feel free to submit bugs, feature requests, and other issues to the issue tracker. Be sure you have read the contribution guidelines!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].