Starting to move all vim to lua

This commit is contained in:
2024-04-07 08:20:02 +02:00
parent 49dfe769ed
commit 29f798abc7
4 changed files with 17 additions and 17 deletions

View File

@@ -1,14 +1,25 @@
-- Filetypes and compatibility
vim.opt.compatible = false
vim.cmd("filetype on")
vim.cmd("filetype plugin on")
vim.cmd("syntax on")
-- Editor configuration
vim.opt.number = true
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.showmatch = true
vim.opt.splitright = true
vim.opt.splitbelow = true
vim.g.mapleader = ","
-- GUI
vim.opt.cursorline = true
vim.opt.hlsearch = true
vim.opt.encoding = "UTF-8"
vim.g.tex_flavor = "latex"
vim.opt.conceallevel = 2
vim.g.mapleader = ","
vim.opt.showmatch = true
-- set color scheme
vim.opt.termguicolors = true