From 59aefdee6ec0643c9bd5d19f01b36569c5affe7d Mon Sep 17 00:00:00 2001 From: Axomortal <56843214+Axomortal@users.noreply.github.com> Date: Thu, 23 Oct 2025 00:14:43 +0200 Subject: [PATCH 1/3] Update .gitignore remove lazy-lock.json --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index 005b535b606..8a192cab54d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,3 @@ test.sh nvim spell/ -lazy-lock.json From 2685af1cf1dc37a34a044feafe982fe9a244f87a Mon Sep 17 00:00:00 2001 From: Axomortal <56843214+Axomortal@users.noreply.github.com> Date: Mon, 27 Oct 2025 13:56:45 +0100 Subject: [PATCH 2/3] Fix typos and update configuration settings --- init.lua | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/init.lua b/init.lua index b98ffc6198a..d3284157255 100644 --- a/init.lua +++ b/init.lua @@ -43,7 +43,7 @@ What is Kickstart? Kickstart Guide: - TODO: The very first thing you should do is to run the command `:Tutor` in Neovim. + TODO: The very first thing you should do is to run the command `:Tutor` in Neovim . If you don't know what this means, type the following: - @@ -69,19 +69,6 @@ Kickstart Guide: I have left several `:help X` comments throughout the init.lua These are hints about where to find more information about the relevant settings, plugins or Neovim features used in Kickstart. - - NOTE: Look for lines like this - - Throughout the file. These are for you, the reader, to help you understand what is happening. - Feel free to delete them once you know what you're doing, but they should serve as a guide - for when you are first encountering a few different constructs in your Neovim config. - -If you experience any errors while trying to install kickstart, run `:checkhealth` for more info. - -I hope you enjoy your Neovim journey, -- TJ - -P.S. You can delete this when you're done too. It's your config now! :) --]] -- Set as the leader key @@ -91,7 +78,7 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal -vim.g.have_nerd_font = false +vim.g.have_nerd_font = true -- [[ Setting options ]] -- See `:help vim.o` @@ -159,7 +146,7 @@ vim.o.inccommand = 'split' vim.o.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. -vim.o.scrolloff = 10 +vim.o.scrolloff = 2 -- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`), -- instead raise a dialog asking if you wish to save the current file(s) @@ -674,6 +661,7 @@ require('lazy').setup({ -- clangd = {}, -- gopls = {}, -- pyright = {}, + codebook = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -690,6 +678,14 @@ require('lazy').setup({ -- capabilities = {}, settings = { Lua = { + workspace = { + checkThirdParty = false, + library = { + '${3rd}/luv/library', + unpack(vim.api.nvim_get_runtime_file('', true)), + vim.api.nvim_get_proc, + }, + }, completion = { callSnippet = 'Replace', }, @@ -768,6 +764,8 @@ require('lazy').setup({ end, formatters_by_ft = { lua = { 'stylua' }, + cs = { 'clang-format' }, + -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, -- @@ -928,7 +926,7 @@ require('lazy').setup({ -- You can configure sections in the statusline by overriding their -- default behavior. For example, here we set the section for - -- cursor location to LINE:COLUMN + -- cursor location to LINE:COLUM N ---@diagnostic disable-next-line: duplicate-set-field statusline.section_location = function() return '%2l:%-2v' @@ -974,10 +972,10 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug', - -- require 'kickstart.plugins.indent_line', + require 'kickstart.plugins.indent_line', -- require 'kickstart.plugins.lint', -- require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` @@ -1013,4 +1011,4 @@ require('lazy').setup({ }) -- The line beneath this is called `modeline`. See `:help modeline` --- vim: ts=2 sts=2 sw=2 et +- From fa1358ed78ae3fb2094f3db56435a48b7f499020 Mon Sep 17 00:00:00 2001 From: Axomortal <56843214+Axomortal@users.noreply.github.com> Date: Mon, 27 Oct 2025 19:37:25 +0100 Subject: [PATCH 3/3] signe pls Remove unnecessary newline at the end of the file.