Squashed commit of the following:
commit7322bc0f73Author: anth64 <anth64@protonmail.com> Date: Tue Apr 15 22:21:09 2025 +0200 use lspconfig commit5577628a22Author: anth64 <anth64@protonmail.com> Date: Tue Apr 15 20:08:14 2025 +0200 reorderd lazy and config commit7f1a3b82daAuthor: anth64 <anth64@protonmail.com> Date: Tue Apr 15 19:29:43 2025 +0200 add colorschemes, default to moonfly commit466c8cf410Author: anth64 <anth64@protonmail.com> Date: Tue Apr 15 18:51:56 2025 +0200 make it work on windows as well commita9d9c2199dAuthor: anth64 <anth64@protonmail.com> Date: Fri Apr 11 07:26:54 2025 +0200 added jdtls and newline to end of files commit4db9e65e6fAuthor: anth64 <anth64@protonmail.com> Date: Thu Apr 10 22:33:16 2025 +0200 remove redundant remap of mapleader commitbb0ad9af1bAuthor: anth64 <anth64@protonmail.com> Date: Thu Apr 10 22:28:45 2025 +0200 readd telescope and harpoon commit1a56e26e6bAuthor: anth64 <anth64@protonmail.com> Date: Thu Apr 10 22:20:12 2025 +0200 redid mapping, set and util, also readded nvim-cmp and cmp-nvim-lsp commit690e575c03Author: anth64 <anth64@protonmail.com> Date: Wed Apr 9 23:23:51 2025 +0200 make sure that colorscheme is not touched commit0ab0b593f2Author: anth64 <anth64@protonmail.com> Date: Wed Apr 9 22:56:58 2025 +0200 add lazy.nvim and lualine plugin commita8dd286e39Author: anth64 <anth64@protonmail.com> Date: Wed Apr 9 07:59:00 2025 +0200 initial configuration
This commit is contained in:
+1
-2
@@ -28,8 +28,7 @@ require("lazy").setup({
|
||||
{ import = "plugins" },
|
||||
},
|
||||
-- Configure any other settings here. See the documentation for more details.
|
||||
-- colorscheme that will be used when installing plugins.
|
||||
install = { colorscheme = { "habamax" } },
|
||||
-- automatically check for plugin updates
|
||||
checker = { enabled = true },
|
||||
})
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
vim.g.mapleader = " "
|
||||
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
|
||||
|
||||
|
||||
+7
-20
@@ -1,29 +1,15 @@
|
||||
vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, {
|
||||
group = vim.api.nvim_create_augroup("float_diagnostic_cursor", { clear = true }),
|
||||
callback = function ()
|
||||
vim.diagnostic.open_float(nil, {focus=false, scope="cursor"})
|
||||
end
|
||||
})
|
||||
|
||||
vim.opt.shell="zsh"
|
||||
vim.opt.fileformat="unix"
|
||||
vim.opt.fileformats="unix"
|
||||
vim.opt.shell = "zsh"
|
||||
vim.opt.fileformat = "unix"
|
||||
vim.opt.fileformats = "unix"
|
||||
vim.opt.cmdheight = 0
|
||||
vim.opt.guicursor = ""
|
||||
vim.opt.mouse = ""
|
||||
|
||||
vim.opt.nu = true
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
|
||||
vim.opt.smartindent = true
|
||||
|
||||
vim.opt.wrap = false
|
||||
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
local home = os.getenv("HOME") or os.getenv("USERPROFILE")
|
||||
@@ -34,6 +20,7 @@ vim.opt.hlsearch = false
|
||||
vim.opt.incsearch = true
|
||||
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
vim.opt.scrolloff = 8
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.isfname:append("@-@")
|
||||
@@ -41,7 +28,7 @@ vim.opt.isfname:append("@-@")
|
||||
vim.opt.updatetime = 50
|
||||
|
||||
vim.opt.colorcolumn = "80"
|
||||
|
||||
vim.g.c_syntax_for_h = 1
|
||||
vim.g.mapleader = " "
|
||||
|
||||
vim.cmd.colorscheme("moonfly")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user