mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-06-06 16:38:24 +02:00
stylua and removal mason reliance
This commit is contained in:
+8
-8
@@ -8,25 +8,24 @@ vim.opt.wrap = true
|
||||
vim.opt.linebreak = true
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
vim.opt.undodir = os.getenv("HOME") .. "/.nvim/undodir"
|
||||
vim.opt.undodir = os.getenv "HOME" .. "/.nvim/undodir"
|
||||
vim.opt.undofile = true
|
||||
vim.opt.hlsearch = false
|
||||
vim.opt.incsearch = true
|
||||
vim.opt.termguicolors = true
|
||||
vim.opt.scrolloff = 8
|
||||
vim.opt.signcolumn = "yes:1"
|
||||
vim.opt.isfname:append("@-@")
|
||||
vim.opt.isfname:append "@-@"
|
||||
vim.opt.updatetime = 50
|
||||
vim.opt.textwidth = 0
|
||||
vim.opt.colorcolumn = "100"
|
||||
vim.opt.formatoptions = "rqnj"
|
||||
vim.o.sessionoptions =
|
||||
"blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
|
||||
vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
|
||||
vim.o.laststatus = 0
|
||||
vim.o.clipboard = "unnamedplus"
|
||||
vim.o.cursorline = true
|
||||
vim.o.cursorlineopt = "number"
|
||||
vim.opt.fillchars = {eob = " "}
|
||||
vim.opt.fillchars = { eob = " " }
|
||||
vim.o.ignorecase = true
|
||||
vim.o.smartcase = true
|
||||
vim.o.mouse = "a"
|
||||
@@ -46,7 +45,8 @@ vim.g.loaded_ruby_provider = 0
|
||||
local is_windows = vim.fn.has "win32" ~= 0
|
||||
local sep = is_windows and "\\" or "/"
|
||||
local delim = is_windows and ";" or ":"
|
||||
vim.env.PATH = table.concat({vim.fn.stdpath "data", "mason", "bin"}, sep) ..
|
||||
delim .. vim.env.PATH
|
||||
vim.env.PATH = table.concat({ vim.fn.stdpath "data", "mason", "bin" }, sep) .. delim .. vim.env.PATH
|
||||
|
||||
vim.api.nvim_create_user_command('Nf', function() vim.cmd('Neoformat') end, {})
|
||||
vim.api.nvim_create_user_command("Nf", function()
|
||||
vim.cmd "Neoformat"
|
||||
end, {})
|
||||
|
||||
Reference in New Issue
Block a user