Comments (8)
A workaround seems to be using double quotes instead of single quotes within the passed string
from nixvim.
Ah, seems to be an issue with using escapeShellArg
. Guess it's about time I implement my own escaping function (it escapes '
to ''\'''
, which works in shell due to implicit concatenation but not in lua!)
from nixvim.
@pta2002 I actually have some progress towards this if you'd like me to submit a PR
from nixvim.
For now I'd suggest using builtins.toJSON
specifically for string conversion, since it should be compatible in most cases
from nixvim.
I'm a bit confused about this part of toLuaObject
Specifically I'm not sure I understand what the special case for filtering out nil
and empty tables is for, and I don't know what the significance of @
prefixed keys are in Lua 😅
from nixvim.
As far as I can tell, the condition on line 17 is never reached in the current codebase
from nixvim.
I'm a bit confused about this part of
toLuaObject
Specifically I'm not sure I understand what the special case for filtering out
nil
and empty tables is for, and I don't know what the significance of@
prefixed keys are in Lua sweat_smile
Honeslty I genuinely do not remember why I put that there... I'm filtering out nil so code does not end up with a bunch of x = nil
, because that'll be by far the most common value and I don't want to bloat up the vimrc
from nixvim.
For now it's just a simple fix. I don't really feel comfortable changing much in helpers without some kind of tests to make sure I don't break everything 😅
from nixvim.
Related Issues (20)
- [BUG] List of available base16 colorschemes is not up to date
- [PLUGIN REQUEST] tflint LSP plugin
- [BUG] unable to add markdownlint-cli2 linter HOT 1
- [BUG] Keymaps having lua funtions in action is not working as expected. HOT 4
- [LSP REQUEST] Jsonnet LSP HOT 1
- [BUG] `lsp-format` should get enabled if enabling `enableLspFormat` HOT 13
- mkNeovimPlugin should put a local variable into scope
- mkNeovimPlugin: settings option description _assumes_ `setup` function HOT 2
- [BUG] plugins.leap: safeLabels = [] does not disable auto-jump HOT 9
- [BUG] `error: Alias bash-language-server is still in node-packages.nix` error when building on current nixos-unstable HOT 18
- [BUG] error: expected a set but found a list HOT 12
- none-ls: updating + refactoring HOT 4
- In-editor "enabled options" and "documentation"
- [BUG] ts-autotag should use `require('...').setup` (treesitter setup is deprecated) HOT 2
- [PLUGIN REQUEST] Firenvim
- [utils] `importLua` function and `luaToNix` script HOT 1
- keymaps marked as silent appear in which-key HOT 2
- Compatible Themes
- [BUG] "global prefix" boolean settings are not converted to int HOT 3
- [BUG] Some tools from upstream are not declared locally 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 nixvim.