Update
This commit is contained in:
@@ -5,3 +5,11 @@
|
||||
if vim.g.neovide then
|
||||
vim.cmd([[ cd $HOME ]])
|
||||
end
|
||||
|
||||
-- Disable spell checking for markdown and text files
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "markdown", "text", "tex" },
|
||||
callback = function()
|
||||
vim.opt_local.spell = false
|
||||
end,
|
||||
})
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
-- Add any additional options here
|
||||
|
||||
vim.lsp.log.set_level(vim.log.levels.OFF)
|
||||
vim.opt.timeoutlen = 150
|
||||
vim.opt.spell = true
|
||||
vim.opt.spelllang = { "en", "cjk" }
|
||||
@@ -10,13 +11,15 @@ vim.opt.backup = false
|
||||
vim.g.maplocalleader = "\\"
|
||||
vim.g.autoformat = false
|
||||
|
||||
vim.g.node_host_prog = "/opt/homebrew/bin/neovim-node-host"
|
||||
local indent = 2
|
||||
-- vim.opt.expandtab = true -- Use spaces instead of tabs
|
||||
vim.opt.softtabstop = indent -- Number of spaces that a <Tab> counts for while performing editing operations
|
||||
vim.opt.tabstop = indent -- Number of spaces tabs count for
|
||||
vim.opt.shiftwidth = indent -- Size of an indent
|
||||
|
||||
vim.g.node_host_prog = "/opt/homebrew/bin/neovim-node-host"
|
||||
-- vim.opt.expandtab = true -- Use spaces instead of tabs
|
||||
|
||||
if vim.g.neovide then
|
||||
vim.o.guifont = "Maple Mono:h16"
|
||||
vim.g.neovide_scale_factor = 1.0
|
||||
|
||||
Reference in New Issue
Block a user