nvim-configs/init.lua

25 lines
519 B
Lua
Raw Normal View History

2024-10-06 13:16:37 +08:00
if vim.g.vscode then
-- VSCode extension
else
-- ordinary Neovim
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
require("config.lazy")
end
vim.opt.clipboard = 'unnamedplus'
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.expandtab = true
vim.opt.shiftwidth = 4
vim.opt.smartindent = true
vim.opt.autoindent = true
vim.opt.termguicolors = true
vim.opt.background = "dark"
vim.opt.title = true
vim.opt.number = true
vim.opt.cursorline = true
vim.opt.ttyfast = true
2024-10-11 00:34:52 +08:00
vim.opt.signcolumn = 'yes'