feat(nvim): upgrade config to latest commit again

This commit is contained in:
João Paulo Dubas 2024-07-29 12:29:22 +00:00
parent 0f4f97830d
commit 790af516b3
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA
2 changed files with 8 additions and 8 deletions

View File

@ -183,7 +183,7 @@ COPY ./patch/kickstart.nvim/updates.patch /tmp
COPY ./config/nvim/lua/custom/plugins/init.lua /tmp COPY ./config/nvim/lua/custom/plugins/init.lua /tmp
RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME}"/nvim \ RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME}"/nvim \
&& cd ${XDG_CONFIG_HOME}/nvim \ && cd ${XDG_CONFIG_HOME}/nvim \
&& git reset --hard 56b9114bf29cdc0c0f5de78b5deae1fe0ab65db1 \ && git reset --hard 84cc12354dbe0ebda180d445f54820def8c4638f \
&& git apply /tmp/updates.patch \ && git apply /tmp/updates.patch \
&& cp /tmp/init.lua ${XDG_CONFIG_HOME}/nvim/lua/custom/plugins \ && cp /tmp/init.lua ${XDG_CONFIG_HOME}/nvim/lua/custom/plugins \
&& nvim --headless "+Lazy! sync" +qa && nvim --headless "+Lazy! sync" +qa

View File

@ -1,5 +1,5 @@
diff --git a/init.lua b/init.lua diff --git a/init.lua b/init.lua
index 0d380e8..ae61b90 100644 index ee1d3b4..3bab31f 100644
--- a/init.lua --- a/init.lua
+++ b/init.lua +++ b/init.lua
@@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -91,7 +91,7 @@ vim.g.mapleader = ' '
@ -24,7 +24,7 @@ index 0d380e8..ae61b90 100644
-- Don't show the mode, since it's already in the status line -- Don't show the mode, since it's already in the status line
vim.opt.showmode = false vim.opt.showmode = false
@@ -154,6 +154,14 @@ vim.opt.cursorline = true @@ -157,6 +157,14 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor. -- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10 vim.opt.scrolloff = 10
@ -39,7 +39,7 @@ index 0d380e8..ae61b90 100644
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()` -- See `:help vim.keymap.set()`
@@ -575,6 +583,28 @@ require('lazy').setup({ @@ -579,6 +587,28 @@ require('lazy').setup({
-- tsserver = {}, -- tsserver = {},
-- --
@ -68,7 +68,7 @@ index 0d380e8..ae61b90 100644
lua_ls = { lua_ls = {
-- cmd = {...}, -- cmd = {...},
-- filetypes = { ...}, -- filetypes = { ...},
@@ -589,6 +619,33 @@ require('lazy').setup({ @@ -593,6 +623,33 @@ require('lazy').setup({
}, },
}, },
}, },
@ -102,7 +102,7 @@ index 0d380e8..ae61b90 100644
} }
-- Ensure the servers and tools above are installed -- Ensure the servers and tools above are installed
@@ -615,6 +672,33 @@ require('lazy').setup({ @@ -619,6 +676,33 @@ require('lazy').setup({
-- by the server configuration above. Useful when disabling -- by the server configuration above. Useful when disabling
-- certain features of an LSP (for example, turning off formatting for tsserver) -- certain features of an LSP (for example, turning off formatting for tsserver)
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
@ -136,7 +136,7 @@ index 0d380e8..ae61b90 100644
require('lspconfig')[server_name].setup(server) require('lspconfig')[server_name].setup(server)
end, end,
}, },
@@ -838,7 +922,39 @@ require('lazy').setup({ @@ -841,7 +925,39 @@ require('lazy').setup({
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate', build = ':TSUpdate',
opts = { opts = {
@ -177,7 +177,7 @@ index 0d380e8..ae61b90 100644
-- Autoinstall languages that are not installed -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { highlight = {
@@ -877,18 +993,18 @@ require('lazy').setup({ @@ -880,18 +996,18 @@ require('lazy').setup({
-- Uncomment any of the lines below to enable them (you will need to restart nvim). -- Uncomment any of the lines below to enable them (you will need to restart nvim).
-- --
-- require 'kickstart.plugins.debug', -- require 'kickstart.plugins.debug',