Andrew Vos
be7a44c2e2
Add support for prettier for JavaScript
...
https://prettier.io/
2018-02-21 15:16:15 +00:00
Chiel ten Brinke
bfa82d7f99
Merge pull request #230 from mqudsi/eslint_global
...
Fall back to globally-installed `eslint` if not found locally
2018-02-05 10:11:27 +01:00
Chiel ten Brinke
92ad3b6593
Merge pull request #229 from mqudsi/eslint_fix
...
Fix eslint configuration file search
2018-02-05 10:10:38 +01:00
Mahmoud Al-Qudsi
64e80ccb19
Fall back to globally-installed eslint
if not found locally
...
`sudo npm install -g eslint` installs `eslint` to `/usr/local/bin/`
from where it can be found and used.
2018-01-31 13:15:40 -06:00
Mahmoud Al-Qudsi
4de2e93753
Fix eslint configuration file search
...
`fnamemodify` called on a null/empty result of `findfile` results in a
non-empty value. `fnamemodify` was being called in this way prior to the
evaluation of the `if empty(l:tcfg)` rule, meaning Autoformat never
picked up on the fact that there was no configuration file, and instead
tried to call `eslint -c /path/to/project/` (with the folder path
instead of the .eslintrc path).
2018-01-31 13:15:11 -06:00
Chiel ten Brinke
298e7d5fa8
Merge pull request #226 from Cimbali/master
...
Add shfmt as a default formatter for shell files
2018-01-16 09:10:49 +01:00
Cimbali
18d5938363
Add shfmt as a default formatter for shell files
...
Taking into account vim indentation style dynamically (shiftwidth or
tabs).
2018-01-15 15:48:50 +01:00
Chiel ten Brinke
5661686e75
Merge branch 'dsissitka-elixir'
2018-01-15 14:28:20 +01:00
Chiel ten Brinke
e5048ad12a
Merge branch 'master' into elixir
2018-01-15 14:25:04 +01:00
Chiel ten Brinke
88ca36c8d8
Merge pull request #225 from rhysd/fixjson
...
Support fixjson; a JSON fixer/formatter
2018-01-15 14:21:23 +01:00
rhysd
5b5c0a9718
Support fixjson; a JSON fixer/formatter
...
https://github.com/rhysd/fixjson
2018-01-15 03:32:00 +09:00
David Sissitka
7a7c0d109f
Add Elixir support.
2018-01-13 06:16:54 -05:00
Chiel ten Brinke
d2161ef6a3
Merge pull request #222 from Cimbali/master
...
Respect global YAPF config file
2018-01-11 10:00:37 +01:00
Cimbali
8b55636b2c
Respect global YAPF config file
2018-01-11 09:21:56 +01:00
Chiel ten Brinke
dacf435019
Merge pull request #219 from gohxs/eslint-configuration-file
...
choose the closest eslintrc based on filename length
2018-01-02 10:25:44 +01:00
luis
cdb4e84a25
choose the closest eslintrc based on filename length
...
possible fix for #216
2017-12-12 05:18:46 -02:00
Chiel ten Brinke
27f0e48a9b
Merge pull request #218 from gohxs/eslint-extension
...
Added current file extension to eslint tmp file
2017-12-06 11:30:34 +01:00
luis
36f2a83ec6
corrected the indent on last change
2017-12-05 19:02:34 -02:00
luis
3a9e28959b
Added current file extension to eslint tmp file
2017-12-05 18:53:51 -02:00
Chiel ten Brinke
0cd1a4d8b8
Merge pull request #217 from mqudsi/tidy_svg
...
Set tidy_xml as the default formatter for SVG files
2017-11-28 11:16:48 +01:00
Mahmoud Al-Qudsi
7186a54af9
Set tidy_xml as the default formatter for SVG files
...
SVG is just XML + namespace, so tidy_xml is a good default formatter for
SVG files.
2017-11-19 12:41:01 -06:00
Chiel ten Brinke
c32b27cd40
Merge pull request #213 from Chiel92/only_write_changes
...
Check for changes before writing to buffer
2017-10-23 09:09:32 +02:00
Chiel ten Brinke
a4b3c40e8c
Solve #128 .
2017-10-20 14:45:24 +02:00
Chiel ten Brinke
f68c2cc9b6
Minor rewording.
2017-10-05 11:17:03 +02:00
dc3671
ab7ead0c3f
Update readme and vim error messages for eslint global support
2017-10-05 16:57:12 +08:00
dc3671
5ea2893299
Add support for global eslint&.eslintrc
2017-10-05 00:39:36 +08:00
Chiel ten Brinke
3e26966412
Add simple random number function.
2017-08-30 15:14:56 +02:00
Chiel ten Brinke
c020f1680e
Clean up the change log
2017-08-28 17:30:22 +02:00
Chiel ten Brinke
2ecb5555db
Merge pull request #205 from niftylettuce/master
...
Fixed xo formatter (closes #203 , closes #201 )
2017-08-23 15:46:36 +02:00
Nick Baugh
1ff08d3a13
Fixed xo formatter ( closes #203 , closes #201 )
2017-08-23 07:15:33 -04:00
Chiel ten Brinke
16ba1a843b
Merge pull request #193 from mmlb/yapf-conf-file
...
YAPF conf file
2017-07-31 10:44:17 +02:00
Manuel Mendez
e80935baff
fixup! defaults/yapf: handle yapf config file
2017-07-27 10:55:30 -04:00
Manuel Mendez
989aa62e94
README: document yapf config file search
2017-07-20 15:09:57 -04:00
Manuel Mendez
3e7f7a6874
defaults/yapf: handle yapf config file
...
YAPF has clang-format like config file for customisation of the applied
style. vim-autoformat was previously ignoring any user customisation.
2017-07-20 15:09:57 -04:00
Manuel Mendez
8d2809242c
defaults: remove trailing whitespace
2017-07-04 13:00:12 -04:00
Chiel ten Brinke
ad189cdde5
Merge branch 'master' of https://github.com/Chiel92/vim-autoformat
2017-06-26 09:29:58 +02:00
Chiel ten Brinke
f65c4c88af
Fix #189 .
2017-06-26 09:29:22 +02:00
Chiel ten Brinke
889665717c
Merge py cli and js cli js-beautify definitions.
2017-06-23 09:07:06 +02:00
Chiel ten Brinke
41d1c14de2
Merge pull request #187 from suminb/master
...
Update README
2017-06-02 23:36:47 +02:00
Sumin Byeon
92cf430ead
Use $MYVIMRC instead of a hard-coded value
2017-05-26 11:16:12 +09:00
Sumin Byeon
f00ff6de93
Update README
...
Explain how to reload .vimrc without restarting vim
2017-05-26 00:38:46 +09:00
Chiel ten Brinke
31c2de2398
Merge branch 'noob9527-eslint-config-yml-support'
2017-05-18 08:41:41 +02:00
xy
ee87885f40
add eslintrc.yml support
2017-05-17 01:37:15 +08:00
Chiel ten Brinke
c449c413a9
Merge branch 'theanimal666-master'
2017-04-12 16:10:11 +02:00
Chiel ten Brinke
0d01227070
Merge branch 'master' of https://github.com/Chiel92/vim-autoformat
2017-04-12 16:10:05 +02:00
Chiel ten Brinke
fc99fb38ab
Merge branch 'master' of https://github.com/theanimal666/vim-autoformat into theanimal666-master
2017-04-12 15:49:55 +02:00
Christian Hubinger
6d2acb7635
fix: linter discards unsaved changes
...
The content of the current buffer is written to the tempfile instead of copying the file.
So unsaved changes will no longer be discarded silently.
2017-03-14 15:15:02 +01:00
Christian Hubinger
db4a01e197
fix: renamed command builder function, remove disable flag
...
moved Win32 check inside command builder
2017-03-14 11:45:15 +01:00
Christian Hubinger
9e645c483d
fix: generate command on the fly when executing
...
Replaced: s:find_uwards fint builtin findfile()
Removed: register/unregister logic
2017-03-14 00:44:30 +01:00
Christian Hubinger
0f90dc3a0f
feature: implement local ESLint support
...
Support to use the project local eslint installation to be used to
reformat javascript source with the eslint --fix command
2017-03-12 01:23:40 +01:00