Comments (4)
You should be able to just copy that block into your config. The way it should work is by creating a temporary file for the LSP server to be called on, linking it to the buffer, and starting LSP up. It's not my own code (credit to @seagle0128), but it's worked fairly well for me :)
from emacs-config.
Does it something similar to lsp-org
from lsp-mode
or is that something you use additionally?
Do you do your coding in the org buffer or in org-edit-special
buffers?
Edit: it seems to work now. Just in org-edit-special
buffers, but that's still nice. The only downside is that the completions etc. only know about the current code block and can't make intelligent suggestions for variables defined in other blocks or libraries loaded in other blocks. But I guess that's just a general limitation and not some error on my side, right?
from emacs-config.
Unfortunately, yea. Not sure how well lsp-org
works, it wasn't around when I started using this.
from emacs-config.
I have now switched from using LSP to just using anaconda-mode
in the org file. I'm using emacs-jupyter
and I'm evaluating stuff from the org buffer using C-x C-e
, so I don't even have to rely on org-edit-special
buffers anymore. This is a great setup for me now, just to let you know in case you're interested. I haven't found anybody else suggesting this, to my surprise. And thanks anyways.
from emacs-config.
Related Issues (20)
- Adjusting the colors on the splash screen HOT 2
- Errors from init hooks HOT 3
- the search project not work HOT 2
- Teach-a-man-to-fish example will not run. HOT 1
- Translate into Persian 🇮🇷 HOT 1
- How do you handle qwerty-oriented keybindings? HOT 2
- :tangle no produces a weird tangling behavior HOT 1
- Splash screen script changes color of cursor to default (black) HOT 1
- Link to custom SCOWL dictionaries is incorrect HOT 1
- `vertico--exhibit` post-command-hook error with `marginalia` configuration and `doom-homage-white` HOT 1
- doom sync taking too long HOT 1
- doom refactorings break html/pdf export HOT 7
- Unexpected error after CLI:Initializing recipes HOT 3
- Writeroom-mode doesn't work well in Org documents. HOT 2
- (unpin! org) (package! org-contrib) recipe error HOT 1
- Can't run second step of the installation. HOT 3
- Cannot find pdftotext file or directory HOT 1
- Modeline cut off in only org-files. HOT 6
- Error Installation HOT 4
- Config asks for password to clone HOT 1
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 emacs-config.