Comments (4)
The docs are missing the part to set "semantic_highlighting": true
https://lsp.sublimetext.io/customization/#semantic-highlighting
from lsp.
Have you enabled "semantic_highlighting": true
in the LSP settings? (it's false
by default)
Can you place the cursor inside s/defn
and select Tools > Developer > Show Scope Name from the menu - there should be a "Semantic Token" section in the popup, if semantic tokens are enabled.
Could you post the exact response to the initialize (1)
request from the LSP log panel, so we can see the exact capabilities of the clojure-lsp server?
from lsp.
Can you pasteg the LSP logs? (Run LSP: Toggle Log Panel
from the Command Palette)
I am looking to see if the server announces support for semantic tokens.
Also, did you enable this LSP setting?
Line 213 in d4ba30d
from lsp.
It was indeed the "semantic_highlighting": true
config missing. Maybe adding it to the documentation would make things more clear. Thanks for the help =D
And yes, clojure-lsp was announcing semantic tokens. On initialize
I have:
'semanticTokens': {'requests': {'full': {'delta': True}, 'range': True},
And I have exactly one other log saying:
'semanticTokensProvider': {'full': True, 'legend': {'tokenTypes': ['namespace', 'type', 'function', 'macro', 'keyword', 'class', 'variable', 'method', 'event', 'interface'], 'tokenModifiers': ['definition', 'defaultLibrary', 'implementation']}, 'range': True}
from lsp.
Related Issues (20)
- Capabilites with selector fails to register
- ModuleNotFoundError: No module named 'wcmatch.glob' HOT 13
- Prepare for upgrade of bracex and wcmatch libraries HOT 6
- [Runtime Error] ModuleNotFoundError: No module named 'wcmatch' HOT 1
- Investigate why didSave notification is not sent if view closed immediately after saving
- Two alternative hover definitions provided: one on mouseover, the other upon keyboard shortcut HOT 6
- Not Working After 3.8 Upgrade HOT 3
- Discuss removal of some APIs HOT 3
- Allow LSP packages to customize format_completion
- Support list of commands, provided by language servers HOT 5
- Syntax highlighting in popups, returned by 3rd party language server, not work HOT 9
- Package is not installable HOT 5
- MissingUriError: View has no URI HOT 1
- `websocket_server` installs a root logger
- Cannot install LSP on clean installation HOT 15
- Updated to LSP 2.1.0 leads to FileNotFoundError and no LSP HOT 4
- `lsp_code_actions_on_save` do not work intermittently HOT 8
- KeyError on file-watcher HOT 2
- Replace `Enum` object with it's scalar value in the LSP log panel? HOT 1
- Text selection in popups 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 lsp.