Comments (6)
Oh sorry, my bad. plug#begin() ... plug#end()
was after that setting. Putting it before worked perfectly. Thank you so much for your help.
from lightspeed.nvim.
lua require('lightspeed').opts.ignore_case = true
or, if you want to set multiple options, the simplest thing to do is:
lua << EOF
-- you can write any Lua code here, just as you would in init.lua
require('lightspeed').setup {
ignore_case = true,
etc...
}
EOF
See e.g.: https://github.com/nanotee/nvim-lua-guide#using-lua-from-vimscript
from lightspeed.nvim.
Hi, thanks for your response. I am using vscode-neovim
I am actually using init.vim for configuration, not init.lua. I tried the configuration that you send but that gives error
E5108: Error executing lua [string ":lua"]:1: module 'lightspeed' not found:
no field package.preload['lightspeed']
no file '.\lightspeed.lua'
no file 'C:\Neovim\bin\lua\lightspeed.lua'
no file 'C:\Neovim\bin\lua\lightspeed\init.lua'
no file '.\lightspeed.dll'
no file 'C:\Neovim\bin\lightspeed.dll'
I also tried some settings that I know of but nothing worked (please check the green box in the screenshot). Sorry I don't have experience with lua. I really appreciate your helping me here
from lightspeed.nvim.
That should work, the problem is that lightspeed (the module) itself is not found. How did you install it (e.g. using vim-plug)? At that point in init.vim, lightspeed should already be available (i.e., on the runtimepath
), if you want to require
it.
from lightspeed.nvim.
I have installed it using Plug (vim-plug) - plugin manager
It is working fine when I press "s" not sure why it says module 'lightspeed' not found:
when I try to change the setting.
from lightspeed.nvim.
And are you sure that the plug#begin() ... plug#end()
section has already run when you try change the setting in the line lua require('lightspeed').opts.ignore_case = true
? (I.e., is the Plug stuff in the same init.vim file, above the latter, or in a file that is sourced before reaching that ignore_case = ...
line?)
from lightspeed.nvim.
Related Issues (20)
- Control timeout of instant jump/instant repeat labels separately HOT 4
- Error in `set_editor_opts` in `LightspeedLeave` autocommand HOT 3
- fatal: invalid reference: master when Installing or Updating with vim-plug HOT 1
- A suggestion for f/t HOT 3
- Problems when setting safe_labels = {} HOT 1
- Error on yank after jumping HOT 1
- Features Request: Search all windows in the tabpage HOT 1
- Configurable delay/timeout for f motions HOT 1
- Option to add characters to special character list HOT 1
- Lightspeed overwriting neogit shortcuts HOT 4
- Newly installed lightspeed.nvim throws error. Doesn't override nvim defaults. HOT 2
- Potential matched words get highlighted, doesn't go away HOT 2
- Matching Issues HOT 2
- lightspeed with vim-multiple-cursors
- Lightspeed resets scrolloff to 0 HOT 1
- automatically exit f/F HOT 3
- multibyte bug with display bounds computation HOT 2
- how to begin troubleshooting if plugin does not seem to have mapped keys? HOT 2
- Cursor not refreshing.
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 lightspeed.nvim.