34 lines
852 B
Lua
Executable File
34 lines
852 B
Lua
Executable File
-- Options
|
|
vim.g.mapleader = '<space>'
|
|
vim.o.number = true
|
|
vim.o.relativenumber = true
|
|
vim.o.termguicolors = true
|
|
vim.o.background = light
|
|
vim.o.wrap = true
|
|
vim.o.tabstop = 4
|
|
vim.o.shiftwidth = 4
|
|
vim.o.clipboard = 'unnamedplus'
|
|
vim.o.mouse = 'a'
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
vim.o.smartindent = false
|
|
vim.o.undofile = true
|
|
vim.o.swapfile = true
|
|
vim.o.autochdir = true
|
|
vim.o.scrolloff = 15
|
|
|
|
--Neovide Options
|
|
vim.o.guifont = "CaskaydiaMono Nerd Font:h14"
|
|
|
|
-- Plugin Manager
|
|
require("config.lazy")
|
|
|
|
-- Theme
|
|
vim.cmd.colorscheme("everforest")
|
|
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
|
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
|
|
|
-- Autocompletion
|
|
vim.diagnostic.config({ virtual_text = { current_line = true } })
|
|
vim.lsp.enable({ "lua_ls", "rust_analyzer", "ts_ls", "pyright", "html", "cssls", "gopls", "lemminx" });
|