summaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2019-01-26Merge pull request #2131 from 0mco/masterw0rp
Parse more C/C++ compiler options
2019-01-26Merge pull request #2245 from andrewimeson/adi/add-ksh-supportw0rp
Add better ksh support
2019-01-26Merge pull request #2241 from bk2204/lsp-detect-hookw0rp
Add a hook to detect LSP project root
2019-01-26#2132 Unify temporary file management in command.vimw0rp
2019-01-26Add additional ways to detect LSP project rootbrian m. carlson
Currently, we detect the linter root based on a variety of techniques. However, these techniques are not foolproof. For example, clangd works fine for many things without a compile_commands.json file, and Go projects may be built outside of the GOPATH to take advantage of Go 1.11's automatic module support. Add global and buffer-specific variables to allow the user to specify the root, either as a string or a funcref. Make the funcrefs accept the buffer number as an argument to make sure that they can function easily in an asynchronous environment. We define the global variable in the main plugin, since the LSP linter code is not loaded unless required, and we want the variable to be able to be read correctly by :ALEInfo regardless.
2019-01-24Add better detection for KornShell/kshAndrew Imeson
2019-01-24Parse more C/C++ compiler optionsLouis Xu
2019-01-22Add `babylon` as default Prettier parser (#2220)Alvin Chan
* Mimic Prettier's default parser by setting it to `babylon` * Add tests to check default Prettier `parser` * Set Prettier default parser based on version * Update the comment to explain the reason for an explicit default
2019-01-21Add textDocument/typeDefinition for LSP (#2226)Andrey Popp
* Add textDocument/typeDefinition for LSP Doc to spec https://microsoft.github.io/language-server-protocol/specification#textDocument_typeDefinition This works like textDocument/definition but resolves a location of a type of an expression under the cursor. I'm not sure what to do with tsserver though. * Fix passing column to LSP * test_go_to_definition: wording * Add tests for textDocument/typeDefinition * Add docs for textDocument/typeDefinition
2019-01-21Merge pull request #2224 from andreypopp/andreypopp/lsp-hover-fix-columnw0rp
Adjust column to be 0-based for LSP messages
2019-01-21Request LSP completion for the next col after the cursorAndrey Popp
2019-01-21Fix ale#lsp#message#* to convert column to 0-basedAndrey Popp
This is what LSP specifies.
2019-01-19End position in LSP range is exclusiveAndrey Popp
From LSP spec: > A range in a text document expressed as (zero-based) start and end > positions. A range is comparable to a selection in an editor. Therefore > the end position is exclusive.
2019-01-12#2132 Move CreateTemporaryFileForJob calls into FormatCommandw0rp
2019-01-12#2132 Remove the need for the hidden add_newline option by tweaking the flow ↵w0rp
command
2019-01-10Merge pull request #2191 from davidvandebunte/fixCompDbDirw0rp
bugfix: c.vim: Pull build directory from compilation database
2019-01-10Add textlint for Asciidoc and add it to Fixers (#2193)TANIGUCHI Masaya
* Add textlint for asciidoc * Add textlint --fix
2019-01-09Cflags parser: fix special chars matching algorithmFrançois-Xavier Carton
2019-01-08bugfix: c.vim: Pull build directory from compilation databaseDavid VandeBunte
The LLVM compiler database JSON already includes a directory where the build was performed: https://clang.llvm.org/docs/JSONCompilationDatabase.html Prefer this directory for fixing relative paths in compiler include arguments in ale#c#ParseCFlags. Without this change, users cannot create a symlink to their compilation database as suggested in the LLVM tooling setup instructions: https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
2019-01-08Merge pull request #2189 from jeremija/jeremija/manual-autocomplete-wo-prefixw0rp
Manually trigger autocomplete even when prefix is ""
2019-01-08Optimize ale#completion#Filter when prefix is ""Jerko Steiner
2019-01-08Manually trigger autocomplete even when prefix is ""Jerko Steiner
2019-01-08Merge pull request #2161 from guill/compile_database_perfw0rp
Improve perf for compile dbs in large projects
2019-01-07Add ability to manually trigger completion menu (#2177)Jerko Steiner
* Add ability to manually trigger completion menu * Mention :ALEComplete in completion docs * Add test for ALEComplete
2019-01-06Improve perf for compile dbs in large projectsJacob Segal
When using a compilation database (compile_commands.json) in very large projects, significant delays would occur when changing files -- particularly those that happened to be far down the db. Rather than iterating over the whole list every time, we now build up a lookup table based on the tail of the filename (and tail of the directory for widening searches) and iterate over the much smaller list of compile commands for files with the given name. Test metrics (from compile_database_perf/test.sh) show a 90% performance improvement -- from 25 seconds to 2.5 seconds per run.
2019-01-03Clean up the new g:ale_shell code. Use it for Windowsw0rp
2019-01-03Merge pull request #2167 from stegmanh/masterw0rp
Add support for ale option to override default shell used by ale
2019-01-03Merge pull request #2168 from fx-carton/masterw0rp
Fix CFLAGS & Makefile issues
2019-01-03Merge pull request #1988 from mdtusz/pipenv-blackw0rp
Add support for black usage with pipenv
2019-01-02change ale to use value of g:ale_shell regardless of what it isHolden
2018-12-31Replace `trim` with `substitute` for compatibility (Vim <8.0.1630)Alvin Chan
2018-12-31Add associated line text on ALEFindReferences results for TypeScriptAlvin Chan
2018-12-29Fix CFLAGS parsingFrançois-Xavier Carton
Split by space instead of dash. This prevents incorrect parsing where space-separated arguments are merged (in particular, .c or .o files were appended to -I or -D arguments). Handle shell escape: quotes and escaped quotes \" and shell substitutions are recognised. This is done by verifying that no special character (" ' ` ()) has not a matching character. Fixes #2049
2018-12-28address PR feedback by fixing docs and hardcoding bash to use -c on fish and ↵Holden
pwsh environments
2018-12-21Fixup tests for auto-pipenvMiklós Tusz
2018-12-21Remove unnecessary exe check for blackMiklós Tusz
2018-12-21Add auto_pipenv config for blackMiklós Tusz
Added ability to set `python_black_auto_pipenv` to allow for usage of a local pipenv black executable.
2018-12-20Merge pull request #2141 from benjaminjkraft/masterw0rp
Add versions of ALEGoToDefinition that open in splits
2018-12-19Add versions of ALEGoToDefinition that open in splitsBen Kraft
This is just like `:ALEGoToDefinitionInTab`, only a (v)split instead of a tab. Fixes #2140.
2018-12-18#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)w0rp
2018-12-18Close #2152 - Use ale_javascript_standard_options for fixing files toow0rp
2018-12-10Adds standardrb linter (#2133)Justin Searls
See: https://github.com/testdouble/standard StandardRB is to RuboCop what StandardJS is to ESLint. This commit naively copies the RuboCop linter and fixer to point at the standardrb executable. Any other adjustments are very minor (the only I can think of is that standardrb takes a `--fix` option instead of `--auto-correct`). This raises a confusing point to me as both developer and a user: since ale enables all linters by default, won't this run both RuboCop and StandardRB (the results of which will almost always be in conflict with one another)? How does ale already solve for this for the similar case of StandardJS and ESLint?
2018-12-10#1520 - Add an :ALEDocumentation for tsserverw0rp
2018-12-07Merge branch 'master' of github.com:stegmanh/aleHolden
2018-12-07Add initial support for settings to overwrite ale shellHolden
2018-12-06Merge pull request #2061 from hsanson/1910-add-support-for-bibclean-fixerw0rp
Add bibclean fixer support
2018-12-06refactor sasslint linter (#2077)Oskar Grunning
Previous implementation required one to have sass-lint globally. This allows you to have it locally, override the executable and add options.
2018-12-01Add bibclen fixer supportHoracio Sanson
Closes #1910
2018-11-30Merge pull request #2110 from w0rp/lazy-clipboardv2.3.0Ryan
Optimize :ALEIntoToClipboard to only copy to clipboard once
2018-11-29Merge branch 'master' into sridharsBjorn Neergaard