♻️ refactor(nvim): moved spell check for vscode into the extra
This commit is contained in:
parent
a01147f661
commit
24b3a20722
2 changed files with 3 additions and 5 deletions
|
@ -1,11 +1,7 @@
|
||||||
-- Options are automatically loaded before lazy.nvim startup
|
-- 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
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||||
-- Add any additional options here
|
-- Add any additional options here
|
||||||
|
vim.o.spell = true
|
||||||
if not vim.g.vscode then
|
|
||||||
vim.o.spell = true
|
|
||||||
end
|
|
||||||
|
|
||||||
vim.loader.enable()
|
vim.loader.enable()
|
||||||
|
|
||||||
vim.g["rooter_cd_cmd"] = "lcd"
|
vim.g["rooter_cd_cmd"] = "lcd"
|
||||||
|
|
|
@ -2,6 +2,8 @@ if not vim.g.vscode then
|
||||||
return {}
|
return {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
vim.o.spell = false
|
||||||
|
|
||||||
-- Add any additional plugins in vscode, you can set vscode=true on a plugin spec.
|
-- Add any additional plugins in vscode, you can set vscode=true on a plugin spec.
|
||||||
local enabled = {
|
local enabled = {
|
||||||
"flash.nvim",
|
"flash.nvim",
|
||||||
|
|
Loading…
Add table
Reference in a new issue