Commit Graph

529 Commits

Author SHA1 Message Date
Andrew Brunker 831f739340
docs: Add lazy.nvim configration #4694 (#4739)
* docs: Add lazy.nvim configration #4694

* docs: fix typo, and add lazy.nvim configuration example
2024-03-12 14:44:04 +09:00
Julian Gong 901d3ff8dd
Fix a typo in README.md (#4647)
Co-authored-by: Julian Gong <julian@meds.com>
2023-11-05 18:22:41 +00:00
w0rp be69af2705
#4607 No conflicts with nvim-lspconfig by default
Default `g:ale_disable_lsp` to a new mode `'auto'` by default. With this
setting applied, ALE will now check for the presence of nvim-lspconfig
and automatically turn off particular LSP linters if already configured
via nvim-lspconfig.

For users that do not use `nvim-lspconfig`, everything should work as
before.
2023-09-14 00:40:56 +01:00
w0rp 108e858d61
Update minimum supported NeoVim version to 0.6.0
Stop officially supporting NeoVim versions below 0.6.0, without
necessarily breaking ALE for people using older versions.
2023-09-07 20:01:31 +01:00
w0rp fbae1bc193
Use cooler badges in README 2023-03-15 22:31:51 +00:00
TheBearodactyl 011e4f6590
Added instructions for pathogen install (#4471) 2023-03-11 09:02:01 +09:00
w0rp 16f5a1915b
Fix a typo in the README 2023-03-07 03:54:48 +00:00
w0rp aca71daa2e
Close #4441 - Update FAQ and add "Why ALE?" 2023-03-07 03:50:18 +00:00
w0rp 39c76cf6af
Fix vim-plug and Vundle headings 2023-03-07 02:39:57 +00:00
w0rp d5a3da19d4
Fix installation text 2023-03-07 02:39:19 +00:00
w0rp 40c1b17e2f
Remove Table of Contents and simplify installation section 2023-03-07 02:38:03 +00:00
Horacio Sanson 65088b59b7
State ALE works with vim 8.0 and above (#4430) 2023-01-27 16:30:34 +00:00
w0rp 4872ce2ab4
Add new demo video to README 2022-12-31 15:17:13 +00:00
w0rp f10349b48b
Replace gitter badge with Discord 2022-06-08 15:26:25 +01:00
w0rp 9e1089c38d
Recommend Discord instead of IRC, actually 2022-06-08 15:22:21 +01:00
Danny (he/him) f6d7aa4f0f
Fix README typo (#4225) 2022-06-06 22:58:11 +09:00
Devin J. Pohly ae44f05600
Allow customization of all floating window borders (#4215)
* Allow customization of all floating window borders

Users may not necessarily want the same border character for top+bottom
or left+right, so allow all eight border characters to be configured in
g:ale_floating_window_border.

For backwards compatibility, the old rules are still applied if only six
elements are given.

* Reorder popup border array for compatibility
2022-05-27 13:41:06 +09:00
Horacio Sanson c173b6243d
Enable autoimport by default (#4102) 2022-03-04 19:05:41 +00:00
w0rp 7ac0f633cc
Update README to mention Libera instead of Freenode 2022-02-26 20:24:48 +00:00
Dalius Dobravolskas 5b792c7641
ALEFileRename command added. (#4012)
* ALEFileRename command added.

This command renames file and uses tsserver `getEditsForFileRename` to
fix import paths in Typescript files.

* ale#util#Input fix

* Even more fixes.

* Linting error fix.
2021-12-17 08:09:26 +09:00
D. Ben Knoble 530b38de34
Vim popup (#3817)
* implement vim popups for preview

Details on implementation
-------------------------
- we make use of the |popupwin| api
- we split implementations (Nvim* vs. Vim* prefix) and call the right
  one based on has('nvim')
- we follow a similar structure in each function, using the relevant API
  - popup_list, win_execute, popup_settext in VimShow
  - popup_create in VimCreate
  - popup_close in VimClose

Some differences
----------------
- we DON'T have VimPrepareWindowContent because we use arguments to
  popup_create for borders, padding, etc., and it also takes care of
  buffer creation.
- we follow the protocol of setting and using w:preview for information,
  but we only need the ID
- InsertEnter is the only autocommand required, because of
  popup_create's moved argument. Any cursor movement with 'any' will
  close the popup. This in turns means VimClose is only called from
  InsertMode, so no mode-restoration necessary
- we don't tweak too much in the buffer because vim's popup buffers
  already have most relevant settings and aren't editable without
  calling popup functions.
- I enabled scrollbars, close buttons, dragging, and resizing
- vim popups get as big as they need to by default, so no worrying about
  truncating/hiding/size

Note: we might want to consider changing w:preview to w:ale_preview to
avoid clashes if someone else tries to use the same variable

* floating window: document that vim supports it

* lint: fix indent/cont. lines
2021-07-23 21:59:31 +09:00
Linda_pp d81986a106
add 'How can I use ALE and vim-lsp together?' in readme (#3711) 2021-04-30 18:33:50 +01:00
w0rp 826878c41e
Update documentation for floating window borders 2021-03-01 21:38:14 +00:00
Yen3 1d76fd55a1
Add borders for floating windows in Neovim (#3603)
* Add borders for floating windows in Neovim
* Add docs for floating window border setting

Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2021-03-01 21:36:05 +00:00
w0rp 82c8e3a3a3
Remove last traces of Travis CI
* The build status badge is now for GitHub Actions.
* The documentation now mentions GitHub instead.
* Warnings in the YAML file have been fixed or ignored.
2021-01-27 20:11:46 +00:00
Gabriel Petrovay b09ccc12c3
Added the Vundle command in installation instructions (#3400) 2020-11-21 20:32:58 +00:00
w0rp 48fe0dd4f6
Update documentation for code actions and rename 2020-11-14 10:41:51 +00:00
w0rp ba3dd0d027
Close #2556 - Support filename mapping
ALE now supports mapping files between different systems for running
linters and fixers with Docker, in virtual machines, in servers, etc.
2020-08-23 19:55:42 +01:00
w0rp bf3c3e9438
#3276 - Update README for make -n changes 2020-08-09 20:13:21 +01:00
w0rp affeed7a87
Enable C flag parsing by default
The options for parsing `make -n` and `compile_commands.json` flags
are now enabled by default, so people can start getting better flags
for their files by default.

`compile_commands.json` flags are now preferred over `make -n` results,
to make the options work better by default.
2020-08-09 04:23:32 +01:00
w0rp 681ca5fee8
Explain how to use ALE and coc.nvim together 2020-08-09 03:18:21 +01:00
w0rp 2ed09f51b6
Move :ALEInfo higher up in the FAQ 2020-08-09 02:50:25 +01:00
w0rp 6d502233d8
Close #3267 - Add a general autoimport setting 2020-08-09 02:32:47 +01:00
w0rp 86d5cb81bd
Use more American English 2020-08-04 20:11:49 +01:00
w0rp acf892c4d1
#1532 - Display hover information on CursorHold 2020-08-04 20:11:49 +01:00
w0rp 5f84325cd8
Add a Help Wanted message in case people are interested 2019-12-03 11:47:26 +00:00
Jerko Steiner 3e8c8d3ccb Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709)
This commit adds support for renaming symbols in tsserver and with LSP tools, and for organising imports with tsserver. Completion results for symbols that can be imported are now suggested if enabled for tsserver completion done via ALE.
2019-09-12 21:53:23 +01:00
w0rp 4fe7402e89
Update links to use the new GitHub organization 2019-07-29 21:10:41 +01:00
Eric Wang 6feeca793a Update README section about running linters on save
The default for `g:ale_lint_on_insert_leave` was recently changed to 1,
so it now needs to be explicitly set to 0 to run linters only when files
are saved.
2019-06-27 19:25:06 -07:00
w0rp 168768b326
Lint on InsertLeave, not in insert mode by default
b:ale_lint_on_insert_leave is now supported as tests need it.

These defaults are saner and cause fewer issues for users by default.
2019-06-10 20:54:38 +01:00
w0rp fea666bd27
Move images to a GitHub issue 2019-06-10 13:43:53 +01:00
enterprisey b41eecd31b
In README, more efficient git clones
Users don't need the entire git history to use the plugin, so don't download it
2019-06-09 22:12:29 -07:00
hy2k bb7481effb Update README deoplete completion source section 2019-06-04 22:35:29 +09:00
w0rp 092748caac
Update the README to use travis-ci.com 2019-05-22 22:27:10 +01:00
w0rp 3e3801e81e
Revert "Fix #2492 - Remove all Deoplete support for now"
This reverts commit 975cc7af8f.
2019-05-21 13:53:09 +01:00
w0rp e5ea809094
Close #2285 - Add a function for use with omnifunc 2019-05-17 00:57:52 +01:00
w0rp 975cc7af8f
Fix #2492 - Remove all Deoplete support for now 2019-05-16 20:11:42 +01:00
w0rp edd3114394
Make it less likely people will do the wrong thing
Make it very clear in every single place that the setting for ALE's own
completion implementation is mentioned that you should not enable it if
you want to use ALE as a completion source for other plugins like
Deoplete.
2019-05-11 17:06:32 +01:00
w0rp 01331266a8
Close #1753 - Implement minimum viable integration with Deoplete 2019-04-23 21:26:25 +01:00
w0rp 3a010f68b8
Adjust the README wording slightly 2019-04-15 22:00:57 +01:00