Łukasz Woźniak
6bebdcfa30
Improves fixer performance for large buffers
2020-09-18 12:59:27 +02:00
w0rp
dd9ad9b5be
#3319 - Try to modify buffers later for ALEFix
2020-08-29 12:33:17 +01:00
w0rp
ecd7abecc0
Fix #3319 - Force modifications to buffers
2020-08-27 21:29:13 +01:00
w0rp
2b2403a20d
Merge pull request #3144 from jamescdavis/dont_append_newline_when_noeol
...
don't append a newline to temp file when buffer is noeol and nofixeol is set
2020-08-14 00:32:28 +01:00
w0rp
7c4b1d8444
Close #3274 - Handle basic LSP markdown formatting
2020-08-12 22:11:45 +01:00
James C. Davis
15d590ee5e
fix: don't append newline when buffer is noeol and nofixeol
2020-04-30 15:00:10 -04:00
w0rp
dc054f30c8
Merge pull request #2823 from jeremija/do-not-save-on-autoimport
...
Do not save after ALERename and ALEOrganizeImports
2020-04-17 17:32:36 +01:00
w0rp
82f734a7c2
Closes #3019 - Implement default navigation
...
Default navigation for commands that jump to new locations has been
implemented with the `ale_default_navigation` variable, and all commands
that jump to locations now support `-tab`, `-split`, or `-vsplit`
arguments for overriding the default navigation behavior.
2020-04-15 16:50:13 +01:00
w0rp
8f7ccdc5e9
Refactor the "s:LoadArgCount()" function ( #3025 )
...
* Refactor the "s:LoadArgCount()" function
Previously, this function would always set "v:errmsg" on the first
call with a given function. This is because autoloaded functions
are not defined on the first call.
A number of improvements have been made:
- a useless local function ("l:Function") is removed
- the "execute()" builtin captures the output, instead of ":redir"
- a ":try" block handles the case where a function is not defined
- a useless ":if" is removed since ":redir" always defines the var
- confusing quoting is re-written (remove double "'" chars)
Fixes : #3021
2020-03-04 20:56:22 +00:00
Jerko Steiner
493705336c
Add old check for bufline api
2019-12-29 15:08:22 +01:00
Jerko Steiner
40890cfcf3
Rename ale#fix#SetBufferContents to ale#util#SetBufferContents
2019-10-22 16:39:43 -05: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
737ed31de5
Disable fsync for writefile() calls for performance
2019-04-26 20:17:33 +01:00
w0rp
5505f2323d
Fix #2330 - Do not use getcurpos() to avoid changing curswant
2019-03-07 12:28:42 +00:00
Alvin Chan
70b95f16c3
Replace normal with normal!
2019-02-05 16:37:26 -08:00
Alvin Chan
9f63bec12c
Remove the redraw since it's implicit with the zz
2019-02-05 16:31:02 -08:00
Alvin Chan
7ce481c8f6
Center the line within the viewport after a jump
2019-02-05 16:27:13 -08:00
Alvin Chan
a4ed9a1c35
Force Vim to redraw after ale#util#Open
2019-02-05 16:13:58 -08:00
Ben Kraft
73a204dd00
Add versions of ALEGoToDefinition that open in splits
...
This is just like `:ALEGoToDefinitionInTab`, only a (v)split instead of
a tab. Fixes #2140 .
2018-12-19 18:35:56 -05:00
Luan Santos
f58a5cba05
Move virtualtext handling to own file
...
This allows cursor and virtualtext to be independently autoloaded.
2018-11-06 22:31:35 -08:00
w0rp
a6c6e24d61
#1872 Remove extra carriage returns when fixing files on Windows
2018-09-19 19:28:57 +01:00
w0rp
d476578a40
Improve ALE project style checking
...
* The project style linter now runs while you type.
* Now the scripts for checking the project require blank lines.
* Many style issues have been found and fixed.
2018-09-04 16:51:18 +01:00
w0rp
61a0716837
Use &l:equalprg so local options do not override global ones
2018-08-17 10:10:49 +01:00
Bradford Larsen
023ade872e
Adjust the jumplist with line numbers too when opening a new file
...
This further addresses Issue #1758 .
2018-08-07 16:10:36 -04:00
w0rp
4ed35f7247
Fix #1758 - Set marks before going to definitions
2018-07-25 19:43:25 +01:00
w0rp
06132954b1
Switch to v:t_ variables for type checks
2018-07-25 01:27:28 +01:00
w0rp
fcd62342d5
Only temporarily replace TMPDIR if it's defined to be an empty string
2018-07-16 08:45:55 +01:00
w0rp
b2e2bbd042
unlet $TMPDIR too, where we can
2018-07-15 23:04:50 +01:00
w0rp
ac0abc7c1f
Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR
2018-07-12 13:05:59 +01:00
w0rp
c9a6b04dc7
Update the sandbox test now that functions can be defined in the sandbox
2018-07-11 13:36:59 +01:00
w0rp
01c68fedd6
#830 Implement a socket wrapper API for use with LSP connections
2018-07-02 23:49:47 +01:00
w0rp
935740cf93
Close #1590 - Automatically close previews for hover
2018-06-21 23:02:36 +01:00
w0rp
8bca073763
Fix #1661 - Do not use :edit when jumping inside of a file
2018-06-21 21:20:54 +01:00
w0rp
82ea36576c
Move ClockMilliseconds to events, so fewer files are loaded some times
2018-06-19 20:53:49 +01:00
w0rp
ebbf7d0353
#1428 Show multiline hover messages, and document the new command
2018-04-24 21:03:06 +01:00
w0rp
ef130c4428
#1428 Start implementing LSP hover support
2018-04-22 22:00:25 +01:00
w0rp
87ad4dfbe7
Implement a preview window for selecting locations to open
2018-04-22 15:53:01 +01:00
w0rp
f064ba48f5
Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights
2018-04-10 21:05:22 +01:00
w0rp
91d7e81ebc
Fix #605 - Support vcol: 1 for multi-byte character positions
2018-04-08 17:17:46 +01:00
Jelte Fennema
b6d1c41925
Go: Add gotype support ( #1099 )
2018-01-07 12:11:01 +00:00
w0rp
5160f814d9
Fix #988 - Support --fix-dry-run for ESLint by processing the JSON output
2017-11-22 23:23:14 +00:00
w0rp
1a524ca63e
#653 - Always set loclist or quickfix in a timer callback, which prevents errors E924, E925, and E926
2017-08-22 21:19:36 +01:00
w0rp
753cf5da95
#653 - Automatically accept annoying loclist and quickfix errors from Vim
2017-08-20 13:27:18 +01:00
w0rp
9d6883561c
#653 Set problems from other buffers when buffers are first checked
2017-08-19 20:15:46 +01:00
w0rp
5c839c4825
#653 Collect items for quickfix from all buffers, and de-duplicate them. Set filename items in quickfix and loclist.
2017-08-19 14:28:51 +01:00
w0rp
c14886e479
#653 - Include the buffer number in sorting of items
2017-08-12 14:37:56 +01:00
w0rp
c52a4910bf
#653 - Update the loclist binary search to work with buffer numbers, to filter out items for other buffers
2017-08-12 14:27:47 +01:00
w0rp
d5ae3201a4
Ban !=# and !=? from the codebase
2017-08-11 00:31:42 +01:00
w0rp
a535d07f28
Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
2017-08-08 08:39:13 +01:00
w0rp
593cafa18b
Fix #823 - Write Windows files with CRLF
2017-08-05 20:17:25 +01:00