Created
February 11, 2025 22:22
-
-
Save wilyJ80/37b6252dabe16a5ee467fcc83b3cebe9 to your computer and use it in GitHub Desktop.
server neovim config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim.o.tabstop = 4 | |
vim.o.softtabstop = 4 | |
vim.o.shiftwidth = 4 | |
vim.opt.number = true | |
-- [[ Install `lazy.nvim` plugin manager ]] | |
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info | |
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim' | |
if not (vim.uv or vim.loop).fs_stat(lazypath) then | |
local lazyrepo = 'https://github.com/folke/lazy.nvim.git' | |
local out = vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath } | |
if vim.v.shell_error ~= 0 then | |
error('Error cloning lazy.nvim:\n' .. out) | |
end | |
end ---@diagnostic disable-next-line: undefined-field | |
vim.opt.rtp:prepend(lazypath) | |
require('lazy').setup({ | |
{ | |
'lewis6991/gitsigns.nvim', | |
opts = { | |
signs = { | |
add = { text = '+' }, | |
change = { text = '~' }, | |
delete = { text = '_' }, | |
topdelete = { text = '‾' }, | |
changedelete = { text = '~' }, | |
}, | |
}, | |
}, | |
{ | |
'folke/which-key.nvim', | |
event = 'VimEnter', | |
}, | |
}) | |
-- TODO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment