28 lines
485 B
Lua
28 lines
485 B
Lua
vim.g.mapleader = "<Space>"
|
|
|
|
require("config.lazy")
|
|
require("config.lsp")
|
|
require("config.diagnostics")
|
|
require("config.mappings")
|
|
require("lazy").setup("plugins")
|
|
|
|
local opt = vim.opt
|
|
|
|
opt.number = true
|
|
opt.relativenumber = true
|
|
|
|
opt.smartindent= true
|
|
opt.clipboard='unnamedplus'
|
|
|
|
opt.tabstop = 4
|
|
opt.shiftwidth = 4
|
|
|
|
opt.ignorecase = true
|
|
opt.smartcase = true
|
|
|
|
opt.linebreak = true
|
|
opt.showbreak = "—>"
|
|
|
|
opt.mouse = "n"
|
|
opt.mousemodel = "popup"
|
|
opt.mousescroll = {"ver:1", "hor:0"}
|