♻️ refactor(nvim): moved spell check for vscode into the extra

This commit is contained in:
Sergio Laín 2023-12-19 17:00:18 +01:00
parent a01147f661
commit 24b3a20722
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 3 additions and 5 deletions

View file

@ -1,11 +1,7 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
if not vim.g.vscode then
vim.o.spell = true
end
vim.loader.enable()
vim.g["rooter_cd_cmd"] = "lcd"

View file

@ -2,6 +2,8 @@ if not vim.g.vscode then
return {}
end
vim.o.spell = false
-- Add any additional plugins in vscode, you can set vscode=true on a plugin spec.
local enabled = {
"flash.nvim",