Comments (4)
When I open any file with NeoVim, (not just .lisp files), the automated tests
run, and I am notified that '.../vim/test/test_autoload_vlime_ui.vim' failed.
:help vlime-tests
says that loading that file would run the tests - but I don't see anything that would do that.
Which vim-script loader do you use? Is it possible that it loads all files in the hierarchy?
The tests haven't been maintained for some time, so it's easily possible that they don't work cleanly.
Upon opening a .lisp file, \cc does not work. By default, "" anything does
not work. I do not have any other plugins installed. I did notice though that
,c does work to connect to a server.
Yes, ,
is the default leader for slimv
compatibility.
I tried to set the following in my
init.vim as per the documentation and neither worked: let maplocalleader
= '' let g:vlime_leader = ''
There's this snippet in vim/autoload/vlime/overlay/slimv.vim
:41:
if exists('mapleader') && len(mapleader) > 0
let s:slimv_leader = '<Leader>'
else
let s:slimv_leader = ','
endif
So setting let mapleader='\'
(perhaps only for .lisp
files?) should work, if you want the slimv
keybindings.
I was able to force the local leader to backslash with: "let mapleader = ''
The quote character should mean that (n)vim
sees that line as a comment and ignores it, so I don't see how that would change anything?!
The bindings however are still the slimv bindings, not the vlime binding
referenced in the documentation, even when I tried the below: let
g:vlime_force_default_keys = v:true
Do you have let g:vlime_overlay = "slimv"
set up somewhere?
I'm finally at the point where I can actually try using vlime to see how it
works (and hopefully the failing test doesn't mean something else is broken).
I'm not sure if something was misconfigured somewhere, or if the
documentation is just out of date.
Yeah, the documentation might be severly out of date.
I thought I would let you know so that you
could fix whichever is wrong, so that others are not as frustrated trying to
get this working as I was.
Yeah -- thank you, your feedback is really appreciated!
Looking forward to trying to get some coding in
this weekend, and will update if I discover anything else not working while
I'm testing things out using the slimv bindings.
Please do.
Edit/Note: I'm using single backslashes in my files, which works, but had to
edit the markdown here using double backslashes so that they are not treated
as escape characters. The way it displays when read is the way it looks in my
init.vim file.
Yeah, I was really confused as the HTML mail that was sent out didn't include
the backslashes either.
Thanks a lot!
from vlime.
A small note: I'm using a modified swank
(see the slime
repository beneath) and the direct-json
branch, where nvim
and the target lisp directly talk JSON to each other (instead of using a second TCP port and a lisp thread to convert to/from JSON from/to S-expressions).
That setup might conform even less to the documentation, but at least it is used regularly. JFI.
from vlime.
Hello,
Yes, this was my first post on github so I wasn't familiar with how it formatted things. My bad for the confusion. The local leader lines lines in my files all evaluate to the right expression (I did end up changing it back to "," for convenience), and the quote was from me defaulting into quote marks like I was typing a string when I was writing my post, and does not exist in the file (the expression loads.
I do not have any plugin manager installed, nor do I have any other plugins installed. My init file is also pretty minimal (I do not have let g:vlime_overlay = "slimv" set at all. From what you have said, I'm guessing that plugin managers adjust which files are loaded somehow, whereas with a manual installation every file is loaded, which is what is causing the issues. I think the slimv file being loaded is eating the bindings that are in the documentation and its using those instead. So I guess the way to fix this and the test issue would be to just remove the test and slimv files? (Or just the test folder and use the slimv bindings, which I actually kind of like.)
And that is good to know regarding the JSON branch. Thanks for the response and sorry I took so long to get back to you!
from vlime.
Well, right now I don't understand why the wrong bindings are loaded for you. If you run vim -V20/tmp/startup.log/tmp/some-file.lisp
you get a trace file, perhaps you (or me, if you send me the file privately) can figure out what goes wrong.
from vlime.
Related Issues (20)
- Connecting to running Swank server? HOT 25
- Installation issues on MacOS with Pathogen HOT 3
- Implement the Parinfer algorithm HOT 2
- Request consideration to "rename" the project HOT 1
- How to get autocomplete? HOT 3
- Don't escape ANSI escape sequences
- `sldb` buffer doesn't work on OpenBSD HOT 7
- Weird highlight behavior inside the REPL buffer HOT 1
- SBCL warnings seem to break the REPL connection HOT 22
- can't press `d` to inspect frame in debugger HOT 4
- Interactively macro-expand a form HOT 2
- Rebind your leaders for weird outcome HOT 1
- Fix this bug introduced by upstream: thread waiting HOT 2
- Slynk support...? HOT 2
- Bug in commit cfaac6ccb379f9f85bfb2ef17ca6369dfadf2be6
- neovim swank:close-connection: end of file HOT 18
- Cusomtizing *print-case* Breaks Restarts HOT 11
- Quote HOT 2
- Add a feature to load a system (similar to `M-x slime-load-system` in SLIME) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vlime.