Compare commits

...

37 Commits

Author SHA1 Message Date
AramJonghu 0dc34abcc0 leftover removed 2026-06-06 22:52:46 +02:00
AramJonghu fd7a0daede missing files in commit 2026-06-06 22:48:55 +02:00
AramJonghu fb24c7430b macchiato -> mocha 2026-06-05 00:29:31 +02:00
AramJonghu 9eab1602d0 multi-cursor 2026-06-04 22:48:04 +02:00
AramJonghu 4ff8b00b46 qmlformat added 2026-06-02 00:10:04 +02:00
AramJonghu 96caa99e91 no use odin for now 2026-05-27 22:01:35 +02:00
AramJonghu cae71c8c69 pyright back 2026-05-25 18:07:15 +02:00
AramJonghu 1443924f9b neoformat now detects powershell formatter 2026-05-22 00:39:45 +02:00
AramJonghu 82ffdf6ef4 eslint runs 2026-05-21 20:52:42 +02:00
AramJonghu 626a11d76f new bind 2026-05-21 17:59:26 +02:00
AramJonghu 26e76a065b stylua 2026-05-21 00:39:55 +02:00
AramJonghu bdf07b7f2d gitsigns 2026-05-20 19:32:04 +02:00
AramJonghu a53ff4ebca stylua 2026-05-20 01:31:00 +02:00
AramJonghu 761297c7e8 ps1 linter/lsp 2026-05-20 01:28:17 +02:00
AramJonghu b46a6e8537 neoformat was formatting yml with python, causing issues 2026-05-20 00:58:53 +02:00
AramJonghu 1e21f81c50 clippy on trigger 2026-05-19 23:48:28 +02:00
AramJonghu eb9a46aa65 added clippy for rust file linting 2026-05-19 23:38:47 +02:00
AramJonghu 5baacf2a15 ruff in favor of pyright 2026-05-19 23:24:16 +02:00
AramJonghu c14eb51fad fixed deprecated syntax undotree.lua 2026-05-19 23:06:05 +02:00
AramJonghu f19c66766f neorg unused and removed, neoformat 2026-05-16 23:06:43 +02:00
AramJonghu 6dafec86f9 patched telescope issue 2026-05-15 16:14:17 +02:00
AramJonghu 863a27f195 live_grep 2026-05-07 23:00:53 +02:00
AramJonghu 12c16a649a colorscheme 2026-05-07 13:51:42 +02:00
AramJonghu 027ee625b2 removal light mode 2026-05-07 12:18:13 +02:00
AramJonghu 6d8d80f762 spellcheck dutch 2026-05-06 12:35:20 +02:00
AramJonghu b98923d46b fix for readme viewing on aramjonghu-site 2026-05-03 01:35:44 +02:00
AramJonghu feef6af188 added ps1 lsp 2026-05-02 00:30:29 +02:00
AramJonghu 216653004f spell checker en_us 2026-04-29 03:09:15 +02:00
AramJonghu a3cc453271 light mode during the day 2026-04-27 23:05:28 +02:00
AramJonghu 79a907985f basic readme 2026-04-26 17:20:41 +02:00
AramJonghu 478facfff0 basic readme 2026-04-26 17:20:17 +02:00
AramJonghu f04ce5a072 basic readme 2026-04-26 17:19:30 +02:00
AramJonghu b4a88a9cb2 treesitter is cool 2026-04-23 00:25:27 +02:00
AramJonghu 657764eab6 Markdown lookgs pretty 2026-04-22 17:06:36 +02:00
AramJonghu 4a5203cd2b removal refactor plugin 2026-04-21 13:57:56 +02:00
AramJonghu 4bbbe22cdb explorer width -> 35 2026-04-15 14:42:57 +02:00
AramJonghu c8844e54b6 reduced explorer size 2026-04-15 12:11:29 +02:00
17 changed files with 247 additions and 42 deletions
+7
View File
@@ -0,0 +1,7 @@
# Neovim config
---
![NeovimScreenshot](./assets/swappy-20260426-171802.png)
My personal neovim config. It kinda works. More to come.
Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

+14
View File
@@ -0,0 +1,14 @@
function! neoformat#formatters#qml#enabled() abort
return ['qmlformat']
endfunction
function! neoformat#formatters#qml#qmlformat() abort
return {
\ 'exe': '/usr/lib/qt6/bin/qmlformat',
\ 'args': ['-t', '-n', '--objects-spacing', '--functions-spacing', '-i'],
\ 'replace': 1,
\ 'stderr': 1,
\ 'stdin': 0
\ }
endfunction
+2 -6
View File
@@ -4,10 +4,6 @@ require "config.lazy"
require "mappings"
require "autocmd"
vim.cmd "source ~/.config/nvim/suda.vim"
local time = tonumber(os.date "%H")
-- local time = tonumber(os.date "%H")
vim.filetype.add {
pattern = { [".*/hypr/.*%.conf"] = "hyprlang", [".*/uwsm/env.*"] = "zsh" },
}
vim.cmd [[colorscheme catppuccin-macchiato]]
vim.cmd [[colorscheme catppuccin-mocha]]
+16
View File
@@ -1 +1,17 @@
local autocmd = vim.api.nvim_create_autocmd
local augroup = vim.api.nvim_create_augroup
local neoformat_group = augroup("NeoformatOnSave", { clear = true })
autocmd("BufWritePost", {
group = neoformat_group,
callback = function()
if vim.bo.buftype ~= "" or vim.bo.modifiable == false or vim.bo.readonly then
return
end
if vim.fn.exists ":Neoformat" ~= 2 then
return
end
vim.cmd "silent! Neoformat"
end,
})
+49
View File
@@ -0,0 +1,49 @@
require("gitsigns").setup {
signs = {
add = { text = "" },
change = { text = "" },
delete = { text = "_" },
topdelete = { text = "" },
changedelete = { text = "~" },
untracked = { text = "" },
},
signs_staged = {
add = { text = "" },
change = { text = "" },
delete = { text = "_" },
topdelete = { text = "" },
changedelete = { text = "~" },
untracked = { text = "" },
},
signs_staged_enable = true,
signcolumn = true,
numhl = false,
linehl = false,
word_diff = false,
watch_gitdir = {
follow_files = true,
},
auto_attach = true,
attach_to_untracked = false,
current_line_blame = false,
current_line_blame_opts = {
virt_text = true,
virt_text_pos = "eol",
delay = 1000,
ignore_whitespace = false,
virt_text_priority = 100,
use_focus = true,
},
current_line_blame_formatter = "<author>, <author_time:%R> - <summary>",
blame_formatter = nil,
sign_priority = 6,
update_debounce = 100,
status_formatter = nil,
max_file_length = 40000,
preview_config = {
style = "minimal",
relative = "cursor",
row = 0,
col = 1,
},
}
+29 -1
View File
@@ -3,8 +3,10 @@ local cmp_cap = require("config.cmp").capabilities
local servers = {
"zls",
"ts_ls",
"eslint",
"yamlls",
"vimls",
"ruff",
"pyright",
"denols",
"lua_ls",
@@ -17,11 +19,12 @@ local servers = {
"nginx_language_server",
"docker_compose_language_service",
"dockerls",
"rust_analyzer",
"html",
"cssls",
"tailwindcss",
"jdtls",
"powershell_es",
"rust_analyzer",
}
for _, server in ipairs(servers) do
@@ -30,3 +33,28 @@ for _, server in ipairs(servers) do
})
vim.lsp.enable(server)
end
vim.lsp.config("powershell_es", {
capabilities = cmp_cap,
bundle_path = "/opt/powershell-editor-services",
})
vim.lsp.config("rust_analyzer", {
capabilities = cmp_cap,
settings = {
["rust-analyzer"] = {
check = {
command = "clippy",
trigger = "onType",
},
},
},
})
vim.lsp.config("eslint", {
settings = {
experimental = {
useFlatConfig = true,
},
},
})
+11
View File
@@ -0,0 +1,11 @@
let g:neoformat_enabled_yaml = ['prettierd']
let g:neoformat_ps1_psscriptanalyzer = {
\ 'exe': 'pwsh',
\ 'args': ['-NoProfile', '-Command',
\ '"Import-Module (Resolve-Path \"/opt/powershell-editor-services/PSScriptAnalyzer/*/PSScriptAnalyzer.psd1\" | Select-Object -ExpandProperty Path); Invoke-Formatter -ScriptDefinition (\$input | Out-String)"'],
\ 'stdin': 1,
\ }
let g:neoformat_enabled_ps1 = ['psscriptanalyzer']
let g:neoformat_enabled_qml = ['qmlformat']
-5
View File
@@ -1,5 +0,0 @@
require("neorg").setup {
load = {
["core.defaults"] = {},
},
}
+1 -1
View File
@@ -1,6 +1,6 @@
require("nvim-tree").setup {
sort = { sorter = "case_sensitive" },
view = { width = 45 },
view = { width = 35 },
renderer = { group_empty = true },
filters = { dotfiles = true },
}
+55
View File
@@ -0,0 +1,55 @@
local opts = {}
opts = {
file_types = { "markdown" },
completions = {
lsp = {
enabled = true,
},
},
render_modes = true,
anti_conceal = {
enabled = true,
above = 1,
below = 1,
},
code = {
enabled = true,
render_modes = false,
sign = true,
conceal_delimiters = true,
language = true,
position = "left",
language_icon = true,
language_name = true,
language_info = true,
language_pad = 0,
width = "full",
left_margin = 0,
left_pad = 2,
right_pad = 0,
min_width = 40,
border = "thick",
language_border = "",
language_left = "",
language_right = "",
above = "",
below = "",
inline = true,
inline_left = "",
inline_right = "",
inline_pad = 0,
priority = 140,
highlight = "RenderMarkdownCode",
highlight_info = "RenderMarkdownCodeInfo",
highlight_language = nil,
highlight_border = "RenderMarkdownCodeBorder",
highlight_fallback = "RenderMarkdownCodeFallback",
highlight_inline = "RenderMarkdownCodeInline",
style = "full",
},
}
return opts
+13
View File
@@ -1 +1,14 @@
if not vim.F then
vim.F = {}
end
if not vim.F.if_nil and not vim.nonnil then
vim.F.if_nil = function(value, default)
if value == nil then
return default
end
return value
end
end
require("telescope").setup {}
+13 -8
View File
@@ -1,8 +1,13 @@
require("nvim-treesitter.config").setup {
ensure_installed = "all",
sync_install = true,
auto_install = true,
highlight = { enable = true, additional_vim_regex_highlighting = false },
indent = { enable = true, disable = {} },
autotag = { enable = true },
}
local treesitter = require "nvim-treesitter"
treesitter.install { "all" }
local parsers = treesitter.get_installed()
vim.api.nvim_create_autocmd("FileType", {
pattern = parsers,
callback = function()
vim.treesitter.start()
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
end,
})
+8 -8
View File
@@ -12,13 +12,13 @@ require("undotree").setup {
},
window = { winblend = 30 },
keymaps = {
["j"] = "move_next",
["k"] = "move_prev",
["gj"] = "move2parent",
["J"] = "move_change_next",
["K"] = "move_change_prev",
["<cr>"] = "action_enter",
["p"] = "enter_diffbuf",
["q"] = "quit",
["move_next"] = "j",
["move_prev"] = "k",
["move2parent"] = "gj",
["move_change_next"] = "J",
["move_change_prev"] = "K",
["action_enter"] = "<cr>",
["enter_diffbuf"] = "p",
["quit"] = "q",
},
}
+5 -1
View File
@@ -8,10 +8,14 @@ end)
map(
"n",
"<leader>ff",
"<cmd>lua require'telescope.builtin'.find_files({ find_command = {'rg', '--files', '--hidden', '-g', '!.git' }})<cr>",
"<cmd>lua require('telescope.builtin').live_grep({ additional_args = function() return { '--hidden', '-g', '!.git' } end })<cr>",
default_opts
)
map("n", "<leader>fn", "<Cmd>Telescope find_files<CR>")
map("n", "<leader>ww", "<Cmd>lua vim.diagnostic.open_float()<CR>")
map({ "n", "v" }, "<leader>ap", require("actions-preview").code_actions)
map("n", "<Tab>", "<Cmd>BufferLineCycleNext<CR>")
+2
View File
@@ -1,3 +1,5 @@
vim.opt.spelllang = { "en_us", "nl" }
vim.opt.spell = true
vim.opt.relativenumber = true
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
+22 -12
View File
@@ -1,4 +1,13 @@
return {
{
"mg979/vim-visual-multi",
},
{
"lewis6991/gitsigns.nvim",
config = function()
require "gitsigns"
end,
},
{ "vimpostor/vim-tpipeline" },
{
"aznhe21/actions-preview.nvim",
@@ -21,18 +30,6 @@ return {
vim.diagnostic.config { virtual_text = false }
end,
},
{
"ThePrimeagen/refactoring.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
lazy = false,
opts = {},
config = function()
require "config.refactoring"
end,
},
{
"folke/snacks.nvim",
priority = 1000,
@@ -78,6 +75,9 @@ return {
},
{
"nvim-treesitter/nvim-treesitter",
lazy = false,
branch = "main",
build = ":TSUpdate",
config = function()
require "config.treesitter"
end,
@@ -147,4 +147,14 @@ return {
require "config.dap"
end,
},
{
"MeanderingProgrammer/render-markdown.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-mini/mini.nvim",
},
---@module 'render-markdown'
---@type render.md.UserConfig
opts = require "config.render-markdown",
},
}