Comments (2)
It's just the special characters that need to be double-escaped. Should be quite simple to do. Here is an example from awesome inspect.lua by kikito.
from lua-language-server.
It's the same for table keys. The following snippet, when hovered gives:
local foo = {
["some\\path"] = "bar",
}
from lua-language-server.
Related Issues (20)
- Question: is there any way to specify version of the platform?
- [Future Ruquest] An easy way to create a partial of a class
- [Feature request] Case-insensitive string enums/aliases
- Parser gets confused by stray commas
- [问题] 自动填充 HOT 1
- The fallback scope pollutes the workpace environment with extraneous definitions.
- Overriding methods HOT 5
- @see annotaton duplicates documentation when using with @class
- 函数参数设置为 alias[] or enum[] 类型, 在调用时无提示
- Trailing slash for rootUri will duplicate folder name HOT 1
- Do not shadow/re-inject fields in child-classes HOT 2
- @overload not as expected check param in class instance
- Possible typo when handling `workspace.library`
- [Feature request] Support for the upvalue limit HOT 1
- neovim补全项对比vscode下有缺漏
- generic in the loop HOT 1
- Collapsing of functions in the editor breaks if there is a comment before and after the function declaration
- How to link to treesitter folder from `workspace.library`? HOT 3
- VSCode pop-up error `Request textDocument/documentSymbol failed.` when typing
- When using alias values as its keys, Dictionary types don't give completion when defining an instance of that dictionary
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 lua-language-server.