💄 style(nvim): vscode extra some typos
This commit is contained in:
parent
c031f97874
commit
d294825200
1 changed files with 5 additions and 5 deletions
|
@ -2,8 +2,7 @@ if not vim.g.vscode then
|
||||||
return {}
|
return {}
|
||||||
end
|
end
|
||||||
|
|
||||||
local Config = require("lazy.core.config")
|
local config = require("lazy.core.config")
|
||||||
local Plugin = require("lazy.core.plugin")
|
|
||||||
local vscode = require("vscode-neovim")
|
local vscode = require("vscode-neovim")
|
||||||
|
|
||||||
local map = vim.keymap.set
|
local map = vim.keymap.set
|
||||||
|
@ -33,12 +32,13 @@ local enabled = {
|
||||||
"LazyVim",
|
"LazyVim",
|
||||||
}
|
}
|
||||||
|
|
||||||
Config.options.checker.enabled = false
|
config.options.checker.enabled = false
|
||||||
Config.options.change_detection.enabled = false
|
config.options.change_detection.enabled = false
|
||||||
Config.options.defaults.cond = function(plugin)
|
config.options.defaults.cond = function(plugin)
|
||||||
return vim.tbl_contains(enabled, plugin.name) or plugin.vscode
|
return vim.tbl_contains(enabled, plugin.name) or plugin.vscode
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Options
|
||||||
vim.o.spell = false
|
vim.o.spell = false
|
||||||
vim.opt.timeoutlen = 150 -- To show whichkey without delay
|
vim.opt.timeoutlen = 150 -- To show whichkey without delay
|
||||||
vim.notify = vscode.notify
|
vim.notify = vscode.notify
|
||||||
|
|
Loading…
Add table
Reference in a new issue