Commit graph

787 commits

Author SHA1 Message Date
Ben Jackson
ca804bda99 Fix flake when terminal takes a while to close 2020-09-04 01:41:01 +01:00
Ben Jackson
4e5011fe1b Make command line completion work too 2020-09-04 01:18:59 +01:00
Ben Jackson
45f0b68d87 Remove slow debugging code 2020-09-04 00:52:36 +01:00
Ben Jackson
1ace7b648e FixUp: vint 2020-09-04 00:49:37 +01:00
Ben Jackson
710cffe2da update docs 2020-09-04 00:48:40 +01:00
Ben Jackson
0867edd81c FixUp: Correct return values from omnifunc 2020-09-04 00:37:39 +01:00
Ben Jackson
3a79ce9ab7 Add a bash test script 2020-09-04 00:31:34 +01:00
Ben Jackson
2710ee2bfa When the start parameter is missing, the behabiour is arbitary
It seems that the behaviour of the start parameter being missing is
server (or perhaps a specific client) dependent. The specification
clearely says that it should be inserted at the column of the original
request, but the servers clearly expect either for that column to be the
beginning of an identifier or for the client to ignore the spec and
request from that position anyway.

Reading the VSCode code, we see that the 'word' before the cursor is
guessed, and if only if BOTH 'start' AND 'length' are supplied, then
they are used to determine where insertion starts, otherwise the current
'word' is used. Unclear what 'word' means in the specific contexts, but
we're relying on iskeyword.
2020-09-04 00:29:39 +01:00
Ben Jackson
3aa949431e Upgrade chrome debugger to 4.12.10 2020-09-03 22:11:57 +01:00
Ben Jackson
97bdb0d0cc Show launch failure reason in the splash 2020-09-03 22:09:22 +01:00
Ben Jackson
733843a6d4 Support completion for console and watches.
Add omnifunc for prompt buffers

This synchronous completion can be used with any completion system
including built-in CTRL-X CTRL-O.

The filetype of the prompt buffers is set to VimspectorPrompt so that it
can be identified by completion systems. For example, this works well
with YCM:

let g:ycm_semantic_triggers =  {
  \   'VimspectorPrompt': [ '.', '->', ':', '<' ]
  \ }
2020-09-03 17:48:46 +01:00
mergify[bot]
e81be848a1
Merge pull request #244 from puremourning/sign-pri
Highlight the current line using linehl=CursorLine
2020-09-01 16:22:48 +00:00
Ben Jackson
b22d8e570e Try to determine what is flaking the tests; make sure to reset the priorities 2020-09-01 17:06:52 +01:00
Ben Jackson
dffd65f241 Use CursorLine highlihgt to highlight current PC line 2020-09-01 16:31:25 +01:00
Ben Jackson
b2456b587f Centralise the default settings 2020-09-01 16:31:04 +01:00
mergify[bot]
7a6fea120b
Merge pull request #243 from puremourning/hidden-no-name
Don't leak buffers when creating output view
2020-09-01 15:22:12 +00:00
Ben Jackson
f538102d33 Don't leak buffers when creating output view 2020-09-01 15:40:16 +01:00
mergify[bot]
18fd56484e
Merge pull request #242 from puremourning/sign-pri 1868
Allow customisation of the signs
2020-09-01 14:35:19 +00:00
Ben Jackson
c1b544fb3c Allow customisation of the signs
Too many plugins use the default priority of 10 so they race/chase.
Allow uses to configure the priorities and make sure that the defaults
are documented.
2020-09-01 13:56:12 +01:00
mergify[bot]
e634982d78
Merge pull request #240 from tamago324/fix-balloon-display 1862
Fix balloon display
2020-08-29 13:32:09 +00:00
tamago324
8b488d479d To enable the Windows GUI to display the balloon correctly
Refer https://github.com/vim/vim/issues/1512#issuecomment-492070685
2020-08-29 22:19:46 +09:00
tamago324
9b7540fbf6 Format flake8 2020-08-29 15:22:19 +09:00
tamago324
95fa0c5105 Fix balloon display ... 2020-08-29 15:17:24 +09:00
mergify[bot]
7a8bdef088
Merge pull request #239 from puremourning/togglelog 1858
Add VimspectorToggleLog
2020-08-28 13:42:56 +00:00
Ben Jackson
51cc6c4d3a Add VimspectorToggleLog 2020-08-28 14:32:17 +01:00
mergify[bot]
3374d32891
Merge pull request #237 from puremourning/neovim-exceptions
Fix neovim (again) - incompatible exception behaviour
2020-08-24 17:43:03 +00:00
Ben Jackson
ef94b1bc49 Fix neovim (again) - incompatible exception behabiour
Neovim does not raise:

* KeyError when accessing a vim dict
* KeyboardInterrupt when ctrl-c at a prompt

Instead it raises some internal subclass of vim.errro which cannot
easily be identified, so we just catch any vim.error.
2020-08-24 18:31:47 +01:00
Ben Jackson
24193a17ff
Fix minor readme errors 1853 2020-08-23 18:01:46 +01:00
mergify[bot]
3b03cedc2b
Merge pull request #235 from puremourning/double-width 1852
Fix signs when ambiwidth=double
2020-08-23 12:51:26 +00:00
Ben Jackson
dae5760900 Ensure signs are only padded when 1 display cell 2020-08-23 13:42:40 +01:00
Ben Jackson
3c1ac36e6e Add some instructions for cutomising the unicode signs 2020-08-23 12:27:03 +01:00
mergify[bot]
961557975c
Merge pull request #232 from tamago324/fix-schema-url 1848
Fix schema url
2020-08-23 07:23:56 +00:00
tamago324
9de4d07955 Fix schema url 2020-08-23 12:02:06 +09:00
Ben Jackson
e90093870e
task does not support displayName 1843 2020-08-21 18:28:20 +01:00
Ben Jackson
d263568ef7
DOn't link node that you didn't install 2020-08-21 18:19:45 +01:00
Ben Jackson
dc57ed7a67
Use the node installer task 2020-08-21 18:14:59 +01:00
Ben Jackson
3573439a5d
apparently /usr/local/node is not writable; make it 2020-08-21 18:05:57 +01:00
Ben Jackson
044e27144e
Force link latest node 2020-08-21 17:54:12 +01:00
Ben Jackson
cc06605b40
try with the latest node, as we no longer require node 10 2020-08-21 17:49:07 +01:00
Ben Jackson
67a380c9fa
Fix homebrew installation 2020-08-21 17:44:35 +01:00
Ben Jackson
213a02dcbe Remove junk website stuff 2020-08-15 16:41:48 +01:00
Ben Jackson
51bbadc4f5 Update website dependencies 1835 2020-08-15 16:39:32 +01:00
Ben Jackson
57f1c128c5 update doc for coercing types 2020-08-13 17:30:31 +01:00
mergify[bot]
9a9d43cb82
Merge pull request #229 from puremourning/variables-coerce-type 1833
Ability to coerce types in the vimspector config
2020-08-13 14:04:35 +00:00
Ben Jackson
f0d4716783
Merge branch 'master' into variables-coerce-type 2020-08-13 11:38:39 +01:00
Ben Jackson
ca63c08d6a Add a way to force a str in case #json is really required in a key 2020-08-05 22:24:35 +01:00
Ben Jackson
be44a22903 Allow coercing a type in vimspector config
Initially I considered using #i, #s, etc. to coerce to specific types,
but then it wasn't clear of the semantics (particularly for bool, where
JSON bool true/false, Python bool True/False).

But it turns out that we can just coerce any key from a JSON string.
Users can _probably_ type JSON strings for most things, or use variables
to run scripts to generate them, this allows essentially complete
flexibility to define the data types needed to populate the launch spec.

The purpose of this is to allow some level of automated setup by
requesting data from the user and then (subsequently) saving the
flattneed config to the vimspector config file.
2020-08-05 22:19:38 +01:00
Ben Jackson
7824bb29b2
Update bug_report.md 1809 2020-08-02 18:25:06 +01:00
Ben Jackson
750e68bdf5
Require minimal reproduction in contributing guide. 1808 2020-08-02 18:16:32 +01:00
mergify[bot]
1f270ed423
Merge pull request #215 from puremourning/variables-default-value 1807
Add ability to specify defaults for variables
2020-07-31 21:30:13 +00:00