Comments (7)
Thanks for the feedback. I also have the issue from time to time and I am not quite sure how to fix it at this point. It appears to be related to zyedidia/micro#2132
from micro-plugin-lsp.
I created a PR that should circumvent the issue by defining it outside the settings.json (in an environment variable). Can you check if this works for you? It's in the 4-settings-fallback branch.
from micro-plugin-lsp.
Yes, the MICRO_LSP environment variable works well form me. It also is a workaround for another issue I have where micro-plugin-lsp loads all configured language servers, irrespective of file type.
from micro-plugin-lsp.
only "lsp.server"
seems to be overwritten though - other invalid keys (for example, I made backups called "lllllsp.server"
and such) never get deleted.
from micro-plugin-lsp.
That sounds weird! Thanks for investigating this further. I also tried out several things and it seems as if using RegisterCommonOption makes this work consistently for me, whereas when I use RegisterGlobalOption, they get overridden with the default value as soon as the editor restarts. Will open a PR for it
from micro-plugin-lsp.
@phil294 - can you check if the issue persists for you with the changes in the branch bugfix/4-settings-lost ?
Thanks!
from micro-plugin-lsp.
jip, works now!
from micro-plugin-lsp.
Related Issues (20)
- Issue with warnings appearing to redraw micro HOT 3
- Trying to get Eclipse JDT-LS to work HOT 9
- Freezes on large Markdown file, starts unrelated language servers HOT 4
- Send settings to language servers HOT 4
- problem with Zig ls HOT 8
- How do I parse command arguments to the LSP with this plugin. HOT 3
- There is another lsp client written in lua
- Plugin does not work with clangd and ccls HOT 5
- Can't override lsp.server setting HOT 2
- Ctrol-Cpace does not work on Macos HOT 1
- The initialization options parsing can't recognize nested json, which some language servers accept in their settings. HOT 4
- When I save the settings they disappear HOT 1
- How To Ignore THIS ERRORS????????????? HOT 2
- `rust-analyser` appears to work fine HOT 1
- Doesn't initialize when opening file from filemanager HOT 3
- Keyboard shortcuts not working on Mac HOT 2
- How to set up julia language server HOT 8
- PHP support is working HOT 2
- format on save should be false by default HOT 2
- Auto completion is strange 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 micro-plugin-lsp.