summaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2019-02-17python/pylint: Change directory to project rootKevin Locke
Pylint only [checks for pylintrc] (and .pylintrc) files in the packages aboves its current directory before falling back to user and global pylintrc. For projects with a src dir, running pylint from the directory containing the file will not use the project pylintrc. Adopt the convention used by many other Python linters of running from the project root, which solves this issue. Add pylintrc and .pylintrc to FindProjectRoot. Update docs. [checks for pylintrc]: https://github.com/PyCQA/pylint/blob/pylint-2.2.2/pylint/config.py#L106 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-15Fix #2299 - Make tsserver run againw0rp
2019-02-15#2295 Send an empty object for the initialized notification, per the specw0rp
2019-02-15Fix #2295 - Respond to initialize with an initialized messagew0rp
2019-02-15Fix #2294 - Fix some syntax that broke LSPw0rp
2019-02-14Simplify code for marking linters as activew0rp
2019-02-13Remove ProcessChain code we do not need noww0rp
2019-02-13Make it easier to remove command_chain support laterw0rp
2019-02-13#2132 Use an on-init callback for all LSP logicw0rp
2019-02-12#2132 - Implement deferred executable string handling for lintersw0rp
2019-02-11add project_root_callback for tsserver (#2290)Derek Sifford
* add project_root_callback for tsserver * add tests for tsserver project root * Update test/command_callback/test_javascript_tsserver_command_callback.vader
2019-02-10Merge pull request #2268 from m-pilia/alexw0rp
Add settings for the Alex linter
2019-02-10Merge pull request #2277 from chaucerbao/feature/redraw-after-openw0rp
Center the result after `ale#util#Open` jumps
2019-02-10Complain about binary operators on the ends of linesw0rp
2019-02-10Supporting filtered jump (#2279)Théo Cavignac
* Support filtered jump based on loclist item type (E or W for now) * Use flags to customize the behavior of ALENext and ALEPrevious * Update <plug> bindings with flags * Update documentation about ALENext and ALEPrevious * Use ale#args#Parse in JumpWrap
2019-02-08Support pylama for python (#2266)Kevin Locke
* Add pylama for python * Consolidate python traceback handling
2019-02-08#2009 - Force Windows jobs to run in a CMD shellw0rp
2019-02-08Merge pull request #2262 from sectioneight/cd-for-blackw0rp
Respect python black fixer configuration file
2019-02-08Merge pull request #2272 from Rahlir/fix-c-compilecommandw0rp
Fix error when parsing compile_commands for c languages
2019-02-08Add `-relative` option to ALESymbolSearch (#2255)Alvin Chan
* Add `-relative` option to ALESymbolSearch * Document the `-relative` option for ALEFindReferences and ALESymbolSearch
2019-02-08Fix #2257 - Fix an off by 1 which broke completion for some serversw0rp
2019-02-08#2132 Implement deferred objects for ale#command#Runw0rp
2019-02-07Add a function for parsing command argsw0rp
2019-02-06#2132 - lint and fix with ale#command#Runw0rp
A new function is added here which will later be modified for public use in linter and fixer callbacks. All linting and fixing now goes through this new function, to prove that it works in all cases.
2019-02-06Update syntax checkingw0rp
* Line continuation characters should be on the same lines. * .vim file line indentation should be a multiple of 4.
2019-02-05Replace `normal` with `normal!`Alvin Chan
2019-02-05Remove the `redraw` since it's implicit with the `zz`Alvin Chan
2019-02-05Center the line within the viewport after a jumpAlvin Chan
2019-02-05Force Vim to `redraw` after `ale#util#Open`Alvin Chan
2019-02-04Fix error when parsing compile_commands for c langsTadeas Uhlir
This little error caused that when parsing compile_commands json, the filename was used to fetch entries in directory dictionary, hence, when adding new json commands, it never found anything in dir_lookup and instead rewrote the previous entry. Hence, the dir_lookup always contained list of only one compile_command per directory instead of all compile_commands for given directory.
2019-02-02Add settings for the Alex linterMartino Pilia
The executable for the Alex linter is currently hard-coded as 'alex', which is an issue given the fact that it conflicts with the Haskell lexer generator, whose executable is also called 'alex', has been around a dozen years before the linter, and is packaged in the official repositories of the major Linux distributions. This commit adds options to use a local executable for the alex linter (which is a node package), and an option to set a custom executable. As side changes: * The pattern in the alex handler is made more readable by turnig it into a very-magic regex. * Alex handles plain text, markdown, and HTML. Specific flags for HTML and markdown are provided when instantiating the linters for the respective filetypes, while before those formats were treated as plain text.
2019-01-30Respect python black fixer configuration fileAiden Scandella
Similar to other linters/fixers, by default change to the directory of the file being fixed before invoking `black`, which allows the tool to read project-specific configuration (pyproject.toml) Fixes #2218
2019-01-27Merge pull request #2228 from Nomad145/ktlintw0rp
Add ktlint Fixer Support
2019-01-27Extend statusline interface (#2240)petpetpetpet
* Extended statusline.vim to provide an efficient way to access the first errors,warnings,stylerrors,stylewarnings,etc from the loclist. * Added documentation and help for the new API function.
2019-01-27Add textlint for tex (#2234)TANIGUCHI Masaya
2019-01-27Fix #2192 - Handle more ignore-pattern messages for ESLintw0rp
2019-01-27add cmake-format fixer support (#2244)Attila Maczak
2019-01-27SugarSS support from PR 1967 (#2219)Niclas Åhdén
* sugarss support + bonus naming Sass correctly * cleanup + alphabetic ordering
2019-01-27Fix #2216 - Tolerate versions without path numbersw0rp
2019-01-27Use relative paths when previewing file locations (#2238)Alvin Chan
* Use relative paths when previewing file locations Example: ALEFindReferences -relative
2019-01-27Fix #2195 - Handle the command key being missingw0rp
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