Mercurial > vim
annotate runtime/pack/dist/opt/editorconfig/README.md @ 33486:93c715c63a4a v9.0.1994
patch 9.0.1994: inconsistent feature description
Commit: https://github.com/vim/vim/commit/ac9c6d5c786a016ca1dce297d167a5a963881f7e
Author: RestorerZ <restorer@mail2k.ru>
Date: Thu Oct 5 22:25:12 2023 +0200
patch 9.0.1994: inconsistent feature description
Problem: inconsistent feature description
Solution: delete old mentioned feature sets small and big
The may however still be mentioned for historical reasons. e.g. The
last Amiga built version is for Vim6.2 and is still a big version.
closes: #13273
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: RestorerZ <restorer@mail2k.ru>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 05 Oct 2023 22:30:05 +0200 |
parents | 5c8ed31be901 |
children |
rev | line source |
---|---|
33014
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 # EditorConfig Vim Plugin |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 [![Travis Build Status](https://img.shields.io/travis/cxw42/editorconfig-vim.svg?logo=travis)](https://travis-ci.org/editorconfig/editorconfig-vim) |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 [![Appveyor Build Status](https://img.shields.io/appveyor/ci/cxw42/editorconfig-vim.svg?logo=appveyor)](https://ci.appveyor.com/project/cxw42/editorconfig-vim) |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 This is an [EditorConfig][] plugin for Vim. This plugin can be found on both |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 [GitHub][] and [Vim online][]. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 ## Installation |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 To install this plugin, you can use one of the following ways: |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 ### Install with the archive |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 Download the [archive][] and extract it into your Vim runtime directory |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 (`~/.vim` on UNIX/Linux and `$VIM_INSTALLATION_FOLDER\vimfiles` on windows). |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 You should have 4 sub-directories in this runtime directory now: "autoload", |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 "doc", "ftdetect" and "plugin". |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 ### Install as Vim8 plugin |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 Install as a Vim 8 plugin. Note `local` can be any name, but some path |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 element must be present. On Windows, instead of `~/.vim` use |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
24 `$VIM_INSTALLATION_FOLDER\vimfiles`. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 ```shell |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 mkdir -p ~/.vim/pack/local/start |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 cd ~/.vim/pack/local/start |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 git clone https://github.com/editorconfig/editorconfig-vim.git |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 ``` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
30 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
31 ### Install with [pathogen][] |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
32 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
33 Use pathogen (the git repository of this plugin is |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
34 https://github.com/editorconfig/editorconfig-vim.git) |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
35 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
36 ### Install with [Vundle][] |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
37 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
38 Use Vundle by adding to your `.vimrc` Vundle plugins section: |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
39 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
40 ```viml |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
41 Plugin 'editorconfig/editorconfig-vim' |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
42 ``` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
43 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
44 Then call `:PluginInstall`. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
45 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
46 ### Install with [vim-plug][] |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
47 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
48 Use vim-plug by adding to your `.vimrc` in your plugin section: |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
49 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
50 ```viml |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
51 Plug 'editorconfig/editorconfig-vim' |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
52 ``` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
53 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
54 Source your `.vimrc` by calling `:source $MYVIMRC`. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
55 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
56 Then call `:PlugInstall`. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
57 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
58 ### No external editorconfig core library is required |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
59 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
60 Previous versions of this plugin also required a Python "core". |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
61 The core included the code to parse `.editorconfig` files. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
62 This plugin **includes** the core, so you don't need to download the |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
63 core separately. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
64 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
65 ## Supported properties |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
66 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 The EditorConfig Vim plugin supports the following EditorConfig [properties][]: |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
68 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
69 * `indent_style` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
70 * `indent_size` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
71 * `tab_width` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
72 * `end_of_line` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
73 * `charset` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
74 * `insert_final_newline` (Feature `+fixendofline`, available on Vim 7.4.785+, |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
75 or [PreserveNoEOL][] is required for this property) |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
76 * `trim_trailing_whitespace` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
77 * `max_line_length` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
78 * `root` (only used by EditorConfig core) |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
79 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
80 ## Selected Options |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
81 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
82 The supported options are documented in [editorconfig.txt][] |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
83 and can be viewed by executing the following: `:help editorconfig`. You may |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
84 need to execute `:helptags ALL` so that Vim is aware of editorconfig.txt. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
85 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
86 ### Excluded patterns |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
87 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
88 To ensure that this plugin works well with [Tim Pope's fugitive][], use the |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
89 following patterns array: |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
90 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
91 ```viml |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
92 let g:EditorConfig_exclude_patterns = ['fugitive://.*'] |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
93 ``` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
94 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
95 If you wanted to avoid loading EditorConfig for any remote files over ssh: |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
96 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
97 ```viml |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
98 let g:EditorConfig_exclude_patterns = ['scp://.*'] |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
99 ``` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
100 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
101 Of course these two items could be combined into the following: |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
102 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
103 ```viml |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
104 let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*'] |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
105 ``` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
106 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
107 ### Disable for a specific filetype |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
108 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
109 You can disable this plugin for a specific buffer by setting |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
110 `b:EditorConfig_disable`. Therefore, you can disable the |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
111 plugin for all buffers of a specific filetype. For example, to disable |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
112 EditorConfig for all git commit messages (filetype `gitcommit`): |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
113 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
114 ```viml |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
115 au FileType gitcommit let b:EditorConfig_disable = 1 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
116 ``` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
117 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
118 ### Disable rules |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
119 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
120 In very rare cases, |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
121 you might need to override some project-specific EditorConfig rules in global |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
122 or local vimrc in some cases, e.g., to resolve conflicts of trailing whitespace |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
123 trimming and buffer autosaving. This is not recommended, but you can: |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
124 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
125 ```viml |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
126 let g:EditorConfig_disable_rules = ['trim_trailing_whitespace'] |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
127 ``` |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
128 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
129 You are able to disable any supported EditorConfig properties. |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
130 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
131 ## Bugs and Feature Requests |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
132 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
133 Feel free to submit bugs, feature requests, and other issues to the |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
134 [issue tracker][]. Be sure you have read the [contribution guidelines][]! |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
135 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
136 [EditorConfig]: http://editorconfig.org |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
137 [GitHub]: https://github.com/editorconfig/editorconfig-vim |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
138 [PreserveNoEOL]: http://www.vim.org/scripts/script.php?script_id=4550 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
139 [Tim Pope's fugitive]: https://github.com/tpope/vim-fugitive |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
140 [Vim online]: http://www.vim.org/scripts/script.php?script_id=3934 |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
141 [Vundle]: https://github.com/gmarik/Vundle.vim |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
142 [archive]: https://github.com/editorconfig/editorconfig-vim/archive/master.zip |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
143 [contribution guidelines]: https://github.com/editorconfig/editorconfig/blob/master/CONTRIBUTING.md#submitting-an-issue |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
144 [issue tracker]: https://github.com/editorconfig/editorconfig-vim/issues |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
145 [pathogen]: https://github.com/tpope/vim-pathogen |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
146 [properties]: http://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
147 [editorconfig.txt]: https://github.com/editorconfig/editorconfig-vim/blob/master/doc/editorconfig.txt |
5c8ed31be901
runtime: Distribute the editorconfig with vim (#12902)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
148 [vim-plug]: https://github.com/junegunn/vim-plug |