Comments (8)
在我本地测试 buffer local 的 relative number 和 wrap 不生效,我改成了
local function bind_option(options)
for k, v in pairs(options) do
if v == true then
vim.cmd('set ' .. k)
elseif v == false then
vim.cmd('set no' .. k)
else
vim.cmd('set ' .. k .. '=' .. v)
end
end
end
不知道是不是所有的 false 都可以通过no
前缀设置,如果不是的话就使用 vim.opt
from nvimdots.
如果直接给我个pr就更好了
from nvimdots.
Hi,thanks, I test it.
yes, there all setting is true
false is not work
maybe use vim.opt setting can work.
if you want to change these so easy
let vim.opt setting like wrap
vim.opt.wrap=false.
maybe just author's default settings,the setting is ok.
because no opt ,almost the opt is false.
from nvimdots.
@ayamir 另外目前没有抽离出自定义的入口,我都是通过改动原文件修改的,这样同步github改动就很麻烦,希望作者添加一下个人自定义配置的 feature
from nvimdots.
you can fork the origin ,then add branch,when change,you can merge,as i know,it is easy to do it.
if you just want to add plugin,you can mkdir the dir to the module , that you can no merge
from nvimdots.
@1096015776 yes, we can do it by cloning a new local repo or creating a new branch.
But i think it's bettter if we have a entry for private config.
Personal configuration is not in git and has a higher priority than default.
from nvimdots.
yes,i think it is better,I just give you a temp answer to solve that.
from nvimdots.
@ayamir 另外目前没有抽离出自定义的入口,我都是通过改动原文件修改的,这样同步github改动就很麻烦,希望作者添加一下个人自定义配置的 feature
这个并不是我想做的,同时目前也没有精力去做,你想要的可能是lunarvim
from nvimdots.
Related Issues (20)
- Questions (Thoughts) regarding recent changes HOT 4
- Update catppuccin version (Huge performance issue on nightly) HOT 3
- How to modify keymap for Vim plugin HOT 13
- How to configure plugins for neovim to support Rust-DAP and smart tips for variable types in Rust HOT 5
- maybe load_extension fzf bug HOT 2
- Can't switch open-tabs HOT 3
- How to setup the python environment? HOT 32
- treesitter parser [swift] having issue when lazy-loading ts-related plugins HOT 11
- How to (re)install nvimdots HOT 5
- <C-V> in NvimTree can't work HOT 7
- In Inerst mode use <capslock> mapping <Esc> not work HOT 6
- How to custom user config for nvim-cmp mapping HOT 5
- replace `vim.tbl_islist()` with `vim.islist()` after `NVIM v0.10.0-dev-2560` HOT 3
- golang code hints default selected location is incorrect
- Color scheme HOT 2
- Sluggish WSL clipboard communication HOT 2
- skip lines when executing multiple macro operations HOT 9
- UI FIX HOT 3
- [migration] Nvim 0.10 Support HOT 2
- `<CR>` triggers autocompl instead of line break 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 nvimdots.