Compare commits

...

19 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
11 changed files with 177 additions and 68 deletions
+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
+1 -5
View File
@@ -6,8 +6,4 @@ require "autocmd"
vim.cmd "source ~/.config/nvim/suda.vim"
-- 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]]
+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,
},
}
+28 -2
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,13 +19,12 @@ local servers = {
"nginx_language_server",
"docker_compose_language_service",
"dockerls",
"rust_analyzer",
"html",
"cssls",
"tailwindcss",
"jdtls",
"odinls",
"powershell_es",
"rust_analyzer",
}
for _, server in ipairs(servers) do
@@ -32,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']
+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",
},
}
+4
View File
@@ -12,6 +12,10 @@ map(
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>")
+1 -1
View File
@@ -1,4 +1,4 @@
vim.opt.spelllang = { "en_us", "nl"}
vim.opt.spelllang = { "en_us", "nl" }
vim.opt.spell = true
vim.opt.relativenumber = true
vim.opt.tabstop = 4
+9
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",