31 Commits

Author SHA1 Message Date
Nina Chlóe Kassandra Reiß
4acae3052a Class and shebang snippet for python
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-06-02 20:17:51 +02:00
Nina Chlóe Kassandra Reiß
6c8211ff4f Math 2026-05-31 20:41:58 +02:00
Nina Chlóe Kassandra Reiß
ba38abd4c7 Initialize UltiSnips keymap manually
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-05-31 20:32:19 +02:00
Nina Chlóe Kassandra Reiß
8b0409f3cb Enable autosave for haskell files
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-05-07 20:36:09 +02:00
Nina Chlóe Kassandra Reiß
7bb0a29f5c Add systemverilog basic module creation
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-05-07 20:33:56 +02:00
Nina Chlóe Kassandra Reiß
aaedc00d6d On-fly integration of Mason programs 2026-05-07 20:32:56 +02:00
Nina Chlóe Kassandra Reiß
f980944725 Format nix language files
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-04-23 13:25:04 +02:00
Nina Chlóe Kassandra Reiß
952048bd59 Add ALE fixer for various programming languages
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 1m5s
2026-03-28 11:37:43 +01:00
Nina Chloé Kassandra Reiß
4e19351253 remove spell files
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 31s
2026-03-12 10:29:43 +01:00
Nina Chloé Kassandra Reiß
bede228921 Fix gitignore file
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 1m29s
2026-03-12 10:21:13 +01:00
Nina Chloé Kassandra Reiß
952b9518b1 Still something special
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 3m24s
2026-03-03 18:11:34 +01:00
Nina Chloé Kassandra Reiß
92ef872202 Remove treesitter after causing problems
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-02-27 22:18:30 +01:00
nichkara
4b1aa4c634 Include oil
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-02-14 09:10:04 +01:00
nichkara
3a69bd9cd9 Switch NerdTREE for oil
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-01-01 19:12:54 +01:00
nichkara
d52f69ebf4 Switch NerdTREE for oil
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2026-01-01 18:57:30 +01:00
nichkara
380e2470b3 Change default wallpaper
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
2025-11-20 23:24:25 +01:00
nichkara
c4dab62f6e Update plugins
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 1m2s
2025-11-13 13:31:04 +01:00
nichkara
6024d4e803 Remove dead name from repo 2025-11-13 03:49:10 +01:00
nichkara
5afb974b78 Fix ada leave buffer error
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 1m16s
2025-11-01 07:28:23 +01:00
nichkara
7b3f516848 VHDL LSP integration update
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 42s
2025-10-22 20:38:43 +02:00
nichkara
19b0ce44bc vhdl example config
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 45s
2025-10-22 10:44:05 +02:00
Nick
aa7025dfc7 nickr -> nichkara update and removal of unused code
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 37s
2025-10-19 07:09:40 +02:00
Nick
576bb711bb nickr -> nichkara update 2025-10-19 07:08:35 +02:00
Nick
ff55d76f71 Remove nix shell 2025-10-19 07:07:40 +02:00
Nick
b14e810dec Remove old plugins 2025-10-19 07:03:45 +02:00
Nick
19a27a004e Unset ada keymaps when leaving ada buffers 2025-10-19 07:01:20 +02:00
Nick
fb966de276 Beautify ada_mode to conform to lua standards 2025-10-19 06:52:52 +02:00
nichkara
ead1e9baa8 Makefile snippet for gccvarset to create clangd project file
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 32s
2025-10-12 10:06:50 +02:00
nichkara
bfc3c57d19 Migration of lspconfig to vim.lsp
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 39s
2025-10-12 10:03:04 +02:00
nichkara
d55b376ba8 Show intendation
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 31s
2025-09-23 07:35:38 +02:00
nichkara
f96b560ca7 Remove ts-rainbow as it is deprecated
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 35s
2025-09-23 07:28:44 +02:00
35 changed files with 525 additions and 762 deletions

8
.gitignore vendored
View File

@@ -1,6 +1,8 @@
lastSession.vim
plugin/
spell/
./mail_password
./lua/irc.lua
./lazy-lock.json
spell/*
spell
mail_password
lua/irc.lua
lazy-lock.json

View File

@@ -38,7 +38,7 @@ endglobal
snippet helloworld "Hello world example to test features" b
-- `!p snip.rv = fn`
-- Created on: `date`
-- Author(s): Yannick Reiss <yannick.reiss@nickr.eu>
-- Author(s): Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>
-- Content: Hello world example
with Ada.Text_IO; use Ada.Text_IO;
@@ -53,9 +53,7 @@ end $1;$0
endsnippet
snippet docstring "Document String with most important information" b
-- `!p snip.rv = fn`
-- Created on: `date`
-- Author(s): ${1:Yannick Reiß}
-- Author(s): ${1:Nina Chloe Kassandra Reiss <nina.reiss@nickr.eu>}
-- Description: ${2:`!p snip.rv = fn.split('.')[0]`}
$0
endsnippet
@@ -140,7 +138,7 @@ for variable in variables:
if not variable == "" and not variable.startswith("typ") and not variable.startswith("--"):
variableless = variable.replace("\t", "").replace (" ", "")
snip.rv += f"\t-- @variable {variableless}\n"
` -- @description $5
` -- @description $5
function ${1:`!p snip.rv = fn.split('.')[0].capitalize()`} `!p snip.rv = "" if t[2] == "" else "("`${2:N : Natural}`!p snip.rv = "" if t[2] == "" else ")"` return ${3:Natural} is
$4
begin
@@ -187,8 +185,12 @@ if t[6] == "y":
endsnippet
snippet package "Create package configuration" b
package ${1:body }${2:`!p package_name = fn.split('.')[0]
snip.rv = package_name[0].upper() + package_name[1:]`} is
package ${1:body }${2:`!p package_name = fn.split('.')[0].replace("-", ".")
components = package_name.split('.')
structured = ""
for component in components:
structured = structured + "." + component[0].upper() + component[1:]
snip.rv = structured[1:]`} is
$0
end $2;
endsnippet

View File

@@ -3,7 +3,7 @@ snippet dd "Date and Time" i
endsnippet
snippet crednick "My private Credentials"
Yannick Reiss <yannick.reiss@nickr.eu>
Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>
endsnippet
snippet credhsrm "Credentials HSRM"
@@ -47,7 +47,7 @@ ${10:`cat ~/.signature.txt`}
endsnippet
snippet crednina "My true credentials"
Nina Chloé Kassandra Reiß <nina.reiss@nickr.eu>
Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>
endsnippet
snippet pwd "Print the current working directory"

View File

@@ -21,7 +21,7 @@ endsnippet
snippet template "Template for assembly program"
global ${1:_start} ; linker entry point
; Author: ${2: Yannick Reiß}
; Author: ${2:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}
; Date: `date`
; Description: ${3:Desciption}

View File

@@ -0,0 +1,7 @@
snippet copy_1_2_w3 "Copy current cell modifying cells +1,+2"
Copy (from) (to) (with): >[-]>[-]<<[->+>+<<]>>[-<<+>>]<<
endsnippet
snippet add_1_2 "Add from 1 to 2"
Add (from) (to): [->+<]>
endsnippet

View File

@@ -124,7 +124,7 @@ endsnippet
snippet docstring "Meta Comment for Documenation" A
/*
* Filename: `!p snip.rv = fn`
* Author: ${1:Yannick Reiss}
* Author: ${1:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}
* Date: `date`
* Project: ${2:Project Name}
* Copyright: ${3:None}

View File

@@ -11,7 +11,7 @@ snippet template "template for new program" A
*-----------------------------------------------------------------
IDENTIFICATION DIVISION.
PROGRAM-ID. ${1:Title}.
*AUTHOR. ${2:Yannick Reiß}.
*AUTHOR. ${2:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}.
*CONTENT. ${3:Beschreibung}.
*-----------------------------------------------------------------

View File

@@ -17,3 +17,37 @@ endsnippet
snippet >> "Line break / closing tag"
</${1:br}>$0
endsnippet
snippet ,m "Inline math mode"
<math display="inline">
$1
</math>$0
endsnippet
snippet ;M "Block formula"
<math display="block">
$1
</math>$0
endsnippet
snippet figure "A figure (typically SVG) with caption."
<figure>
<${2:svg}>
$3
</`!p snip.rv = t[2].split(" ")[0]`>
<figcaption>$1</figcaption>
</figure>
$0
endsnippet
snippet line "SVG: line"
<line x1="${1:0}%" y1="${2:0}%" x2="${3:10}%" y2="${4:10}" stroke="${5:black}" stroke-width="${6:2}" />$0
endsnippet
snippet circle "SVG: circle"
<circle cx="${1:0}%" cy="${2:0}%" fill="${3:#F1F1F1}" r="${4:4}%" style="stroke: #181818; stroke-width: 0.5" ></circle>$0
endsnippet
snippet desc "SVG: description"
<desc id="desc">$1</desc>$0
endsnippet

View File

@@ -35,3 +35,7 @@ endsnippet
snippet A "All"
endsnippet
snippet . "Dot"
·
endsnippet

View File

@@ -1,6 +1,6 @@
snippet docstring "Document string" b
-- Filename: `!p snip.rv = fn`
-- Author: ${1:Yannick Reiß}
-- Author: ${1:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}
-- Copyright: ${2:MIT-License}
-- Description: ${3:Funny lua script}
$0

View File

@@ -75,7 +75,18 @@ if t[19] == "y":
t[19] = "Created!"
if t[20] == "y":
system(f"git init > /dev/null")
t[20] = "Initialized repository!"`
t[20] = "Initialized repository!"``!p
from os import system
if "cl" in t[2].split(' ') and t[19] == "y":
with open(".clangd", "w") as w:
config = f"""
CompileFlags:
Add: [{t[8].split(' ').join(', ')}]
Remove: []
Compiler: {t[3]}
""" w.write(config)
`
$0
endsnippet

3
UltiSnips/math.snippets Normal file
View File

@@ -0,0 +1,3 @@
snippet SUM "Sum sign" i
Σ
endsnippet

View File

@@ -1,7 +1,7 @@
snippet helloworld "Hello world example" b
"""
File: `!p snip.rv = fn`
Author: Nicki
Author: Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>
Created on: `date`
Description: Hello world python example
"""
@@ -14,7 +14,7 @@ endsnippet
snippet docmodule "Documentation for modules"
"""
File: `!p snip.rv = fn`
Author: ${1:Yannick Reiß}
Author: ${1:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}
Created on: `date`
Description: ${2:No further description}
"""
@@ -44,3 +44,39 @@ if t[4] != "" and len(t[4].split(":")) > 1:
$0
endsnippet
snippet class "Python class description" b
class ${1:`!p snip.rv = fn.split('.')[0]`}`!p
if t[2] != "":
snip.rv = " ("
else:
snip.rv = ""`${2:object}`!p
if t[2] == "":
snip.rv = ""
else:
snip.rv = ")"`:
"""
${3:Description of module $1.}
"""
def __init__(${4:self}`!p
if not t[4].startswith("self"):
t[4] = f"self, {t[4]}"
t[4] = t[4].replace(' ', '')
t[4] = t[4].replace(':', ': ')
t[4] = t[4].replace(',', ', ')`):
"""`!p
parameters: list = t[4].split(", ")
snip.rv = "\n"
for parameter in parameters:
parameter_meta = parameter.split(": ")
if len(parameter_meta) == 1:
snip.rv += f"\t\tnotype:\t{parameter_meta[0]}\n"
else:
snip.rv += f"\t\t{parameter_meta[0]}:\t{parameter_meta[1]}\n"`
"""
endsnippet
snippet #! "Environment Shebang" b
#!/usr/bin/env bash
$0
endsnippet

View File

@@ -0,0 +1,32 @@
extends verilog
priority 300
snippet module "Define a new module" b
module ${1:`!p snip.rv = fn.split(".")[0]`}`!p if t[2] == "":
snip.rv = ""
else:
snip.rv = " #("`${2:parameter p0 = 5}`!p if t[2] == "":
snip.rv = ""
else:
snip.rv = ") "``!p if t[3] == "":
snip.rv = ""
else:
snip.rv = "("`${3:input wire clk}`!p if t[3] == "":
snip.rv = ""
else:
snip.rv = ")"`;`!p
if t[3] == "":
snip.rv = t[3]
else:
no_break = t[3].replace("\n", "")
io_break = no_break.replace("input", "\n\tinput")
io_break = io_break.replace("output", "\n\toutput")
t[3] = io_break
`
$0
// `!p snip.rv = t[1]`
// `!p snip.rv = t[2]`
// `!p snip.rv = t[3]`
endmodule
endsnippet

View File

@@ -93,7 +93,7 @@ endsnippet
snippet textemplate "include header" A
\\input{~/latex/header.tex}
\\header{${1:report/article}}{${2:Yannick Reiß}}{${3:Titel}}
\\header{${1:report/article}}{${2:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}}{${3:Titel}}
\\begin{document}
\\input{~/latex/init.tex}

13
UltiSnips/veryl.snippets Normal file
View File

@@ -0,0 +1,13 @@
snippet module "Create a new module" b
${1:pub } module ${2:module_name} (
$3
) {
$0
}
endsnippet
snippet embed "Add embed"
embed (inline) sv{{{
$1
}}}$0
endsnippet

View File

@@ -49,7 +49,7 @@ endsnippet
snippet docstring "Header Comment" A
-- `!p snip.rv = fn`
-- Created on: `date`
-- Author(s): ${1:Nina Chloé Reiß}
-- Author(s): ${1:Nina Chloe Reiß}
-- Content: ${2: Entity `!p snip.rv = fn.split('.')[0]`}
$0
endsnippet

View File

@@ -1,8 +1,3 @@
-- Lua vim-dummy variable
if vim == nil then
local vim = {}
end
-- @name Prove
-- @param
-- @short Run gnatprove
@@ -12,7 +7,7 @@ function Prove()
vim.api.nvim_buf_set_lines(0, 0, -1, false, run_cmd)
vim.cmd(":%!bash")
buffer_loaded = true
Buffer_loaded = true
end
-- @name Run
@@ -24,25 +19,24 @@ function Run()
vim.api.nvim_buf_set_lines(0, 0, -1, false, run_cmd)
vim.cmd(":%!bash")
buffer_loaded = true
Buffer_loaded = true
end
function Close_Prove()
if buffer_loaded then
buffer_loaded = false
if Buffer_loaded then
Buffer_loaded = false
vim.cmd("bd!")
end
end
vim.keymap.set("n", "pp", ":lua Close_Prove()<cr>")
vim.keymap.set("n", "<leader>pp", ":lua Prove()<cr>")
vim.keymap.set("n", "<leader>op", ":lua Run()<cr>")
-- @name setup_ada
-- @param
-- @short Verify installation of ada tools or install them.
local function setup_ada()
vim.keymap.set("n", "<leader>cb", ":!gnatpp %<cr>")
vim.keymap.set("n", "pp", ":lua Close_Prove()<cr>")
vim.keymap.set("n", "<leader>pp", ":lua Prove()<cr>")
vim.keymap.set("n", "<leader>op", ":lua Run()<cr>")
vim.opt.tabstop = 3
vim.opt.shiftwidth = 3
end

View File

@@ -6,6 +6,7 @@ vim.opt.completeopt = { "menu", "menuone" }
-- shortmess is used to reduce verbocity
-- vim.opt.shortmess = vim.opt.shortmess + { c = true }
-- ERROR: Unable to load module
local cmp = require("cmp")
cmp.setup({
-- configuration

203
lua/explorer.lua Normal file
View File

@@ -0,0 +1,203 @@
require("oil").setup({
default_file_explorer = true,
-- Id is automatically added at the beginning, and name at the end
-- See :help oil-columns
columns = {
"icon",
"permissions",
"size",
"mtime",
},
-- Buffer-local options to use for oil buffers
buf_options = {
buflisted = false,
bufhidden = "hide",
},
-- Window-local options to use for oil buffers
win_options = {
wrap = false,
signcolumn = "no",
cursorcolumn = false,
foldcolumn = "0",
spell = false,
list = false,
conceallevel = 3,
concealcursor = "nvic",
},
-- Send deleted files to the trash instead of permanently deleting them (:help oil-trash)
delete_to_trash = false,
-- Skip the confirmation popup for simple operations (:help oil.skip_confirm_for_simple_edits)
skip_confirm_for_simple_edits = true,
-- Selecting a new/moved/renamed file or directory will prompt you to save changes first
-- (:help prompt_save_on_select_new_entry)
prompt_save_on_select_new_entry = true,
-- Oil will automatically delete hidden buffers after this delay
-- You can set the delay to false to disable cleanup entirely
-- Note that the cleanup process only starts when none of the oil buffers are currently displayed
cleanup_delay_ms = 2000,
lsp_file_methods = {
-- Enable or disable LSP file operations
enabled = true,
-- Time to wait for LSP file operations to complete before skipping
timeout_ms = 1000,
-- Set to true to autosave buffers that are updated with LSP willRenameFiles
-- Set to "unmodified" to only save unmodified buffers
autosave_changes = false,
},
-- Constrain the cursor to the editable parts of the oil buffer
-- Set to `false` to disable, or "name" to keep it on the file names
constrain_cursor = "editable",
-- Set to true to watch the filesystem for changes and reload oil
watch_for_changes = true,
-- Keymaps in oil buffer. Can be any value that `vim.keymap.set` accepts OR a table of keymap
-- options with a `callback` (e.g. { callback = function() ... end, desc = "", mode = "n" })
-- Additionally, if it is a string that matches "actions.<name>",
-- it will use the mapping at require("oil.actions").<name>
-- Set to `false` to remove a keymap
-- See :help oil-actions for a list of all available actions
keymaps = {
["g?"] = { "actions.show_help", mode = "n" },
["<CR>"] = "actions.select",
["<C-s>"] = { "actions.select", opts = { vertical = true } },
["<C-h>"] = { "actions.select", opts = { horizontal = true } },
["<C-t>"] = { "actions.select", opts = { tab = true } },
["<C-p>"] = "actions.preview",
["<C-c>"] = { "actions.close", mode = "n" },
["<C-l>"] = "actions.refresh",
["-"] = { "actions.parent", mode = "n" },
["_"] = { "actions.open_cwd", mode = "n" },
["`"] = { "actions.cd", mode = "n" },
["g~"] = { "actions.cd", opts = { scope = "tab" }, mode = "n" },
["gs"] = { "actions.change_sort", mode = "n" },
["gx"] = "actions.open_external",
["g."] = { "actions.toggle_hidden", mode = "n" },
["g\\"] = { "actions.toggle_trash", mode = "n" },
},
-- Set to false to disable all of the above keymaps
use_default_keymaps = true,
view_options = {
-- Show files and directories that start with "."
show_hidden = true,
-- This function defines what is considered a "hidden" file
is_hidden_file = function(name, bufnr)
local m = name:match("^%.")
return m ~= nil
end,
-- This function defines what will never be shown, even when `show_hidden` is set
is_always_hidden = function(name, bufnr)
return false
end,
-- Sort file names with numbers in a more intuitive order for humans.
-- Can be "fast", true, or false. "fast" will turn it off for large directories.
natural_order = "fast",
-- Sort file and directory names case insensitive
case_insensitive = false,
sort = {
-- sort order can be "asc" or "desc"
-- see :help oil-columns to see which columns are sortable
{ "type", "asc" },
{ "name", "asc" },
},
-- Customize the highlight group for the file name
highlight_filename = function(entry, is_hidden, is_link_target, is_link_orphan)
return nil
end,
},
-- Extra arguments to pass to SCP when moving/copying files over SSH
extra_scp_args = {},
-- Extra arguments to pass to aws s3 when creating/deleting/moving/copying files using aws s3
extra_s3_args = {},
-- EXPERIMENTAL support for performing file operations with git
git = {
-- Return true to automatically git add/mv/rm files
add = function(path)
return false
end,
mv = function(src_path, dest_path)
return false
end,
rm = function(path)
return false
end,
},
-- Configuration for the floating window in oil.open_float
float = {
-- Padding around the floating window
padding = 2,
-- max_width and max_height can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)
max_width = 0,
max_height = 0,
border = nil,
win_options = {
winblend = 0,
},
-- optionally override the oil buffers window title with custom function: fun(winid: integer): string
get_win_title = nil,
-- preview_split: Split direction: "auto", "left", "right", "above", "below".
preview_split = "auto",
-- This is the config that will be passed to nvim_open_win.
-- Change values here to customize the layout
override = function(conf)
return conf
end,
},
-- Configuration for the file preview window
preview_win = {
-- Whether the preview window is automatically updated when the cursor is moved
update_on_cursor_moved = true,
-- How to open the preview window "load"|"scratch"|"fast_scratch"
preview_method = "fast_scratch",
-- A function that returns true to disable preview on a file e.g. to avoid lag
disable_preview = function(filename)
return false
end,
-- Window-local options to use for preview window buffers
win_options = {},
},
-- Configuration for the floating action confirmation window
confirmation = {
-- Width dimensions can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)
-- min_width and max_width can be a single value or a list of mixed integer/float types.
-- max_width = {100, 0.8} means "the lesser of 100 columns or 80% of total"
max_width = 0.9,
-- min_width = {40, 0.4} means "the greater of 40 columns or 40% of total"
min_width = { 40, 0.4 },
-- optionally define an integer/float for the exact width of the preview window
width = nil,
-- Height dimensions can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)
-- min_height and max_height can be a single value or a list of mixed integer/float types.
-- max_height = {80, 0.9} means "the lesser of 80 columns or 90% of total"
max_height = 0.9,
-- min_height = {5, 0.1} means "the greater of 5 columns or 10% of total"
min_height = { 5, 0.1 },
-- optionally define an integer/float for the exact height of the preview window
height = nil,
border = nil,
win_options = {
winblend = 0,
},
},
-- Configuration for the floating progress window
progress = {
max_width = 0.9,
min_width = { 40, 0.4 },
width = nil,
max_height = { 10, 0.9 },
min_height = { 5, 0.1 },
height = nil,
border = nil,
minimized_border = "none",
win_options = {
winblend = 0,
},
},
-- Configuration for the floating SSH window
ssh = {
border = nil,
},
-- Configuration for the floating keymaps help window
keymaps_help = {
border = nil,
},
})
vim.keymap.set("n", "<C-E>", "<CMD>Oil<CR>", { desc = "Open parent directory" })

View File

@@ -43,6 +43,14 @@ require("formatter").setup({
require("formatter.filetypes.rust").rustfmt,
},
nix = {
function()
return {
exe = "nixfmt",
}
end,
},
haskell = {
function()
-- Full specification of configurations is down below and in Vim help
@@ -62,7 +70,7 @@ require("formatter").setup({
-- Full specification of configurations is down below and in Vim help
-- files
return {
exe = "vhdlfmt",
exe = "vsg",
args = {
util.escape_path(util.get_current_buffer_file_path()),
},
@@ -71,6 +79,16 @@ require("formatter").setup({
end,
},
veryl = {
function()
return {
exe = "veryl fmt",
args = {},
stdin = false,
}
end,
},
-- Use the special "*" filetype for defining formatter configurations on
-- any filetype
["*"] = {

View File

@@ -1,15 +1,16 @@
-- Ale configuration
vim.g.ale_linters_explicit = 0
local linters = {
python = { "pylint" },
vim = { "vint" },
cpp = { "clang" },
c = { "clang" },
markdown = { "languagetool" },
latex = { "proselint" },
tex = { "proselint" },
plaintex = { "proselint" },
ada = { "gnat", "gcc", "adals", "cspell" },
c = { "clang" },
cpp = { "clang" },
latex = { "proselint" },
markdown = { "languagetool" },
plaintex = { "proselint" },
python = { "pylint" },
tex = { "proselint" },
vhdl = {},
vim = { "vint" },
}
local fixers = {
@@ -17,18 +18,23 @@ local fixers = {
asm = { "gcc" },
bash = { "bashate" },
c = { "astyle" },
haskell = { "fourmolu" },
html = { "prettier", "html-beautify" },
latex = { "texlab", "textlint" },
tex = { "textlint" },
lua = { "stylua" },
markdown = { "prettier", "pandoc" },
python = { "yapf" },
nix = { "nixfmt" },
pascal = { "ptop" },
haskell = { "fourmolu" },
python = { "yapf", "ruff", "autopep8" },
rust = { "rustfmt" },
tex = { "textlint", "latexindent" },
}
vim.g.ale_linters = linters
vim.g.ale_fix_on_save = 0
vim.g.ale_fixers = fixers
-- vim.g.ale_vhdl_ghdl_options = "--std=08 --workdir=src/"
vim.keymap.set("n", "<leader>lf", ":ALEFix<CR>")
vim.keymap.set("n", "<leader>lp", ":ALEFindReferences<CR>")
vim.keymap.set("n", "<leader>lr", ":ALEFindReferences<CR>")
vim.keymap.set("n", "<leader>ln", ":ALENext<CR>")

View File

@@ -15,41 +15,14 @@ require("mason-lspconfig").setup({
},
})
-- require("mason-lspconfig").setup_handlers({
-- function(asm_lsp)
-- require("lspconfig")[asm_lsp].setup({})
-- end,
-- function(clangd)
-- require("lspconfig")[clangd].setup({})
-- end,
-- function(lua_ls)
-- require("lspconfig")[lua_ls].setup({})
-- end,
-- function(hls)
-- require("lspconfig")[hls].setup({})
-- end,
-- function(rust_analyzer)
-- require("lspconfig")[rust_analyzer].setup({})
-- end,
-- function(vhdl_ls)
-- require("lspconfig")[vhdl_ls].setup({})
-- end,
-- function(verible)
-- require("lspconfig")[verible].setup({})
-- end,
-- function(vimls)
-- require("lspconfig")[vimls].setup({})
-- end,
-- function(texlab)
-- require("lspconfig")[texlab].setup({})
-- end,
-- function(als)
-- require("lspconfig")[als].setup({})
-- end,
-- })
vim.lsp.enable("verible")
vim.lsp.config("verible", { cmd = { "verible-verilog-ls", "--rules_config_search" } })
require("lspconfig").verible.setup({
cmd = { "verible-verilog-ls", "--rules_config_search" },
vim.lsp.enable("clangd")
vim.lsp.config("clangd", {
cmd = { "clangd" },
root_markers = { ".clangd" },
filetypes = { "c", "cpp" },
})
-- @name file_exists
@@ -81,10 +54,31 @@ local function get_config_file()
end
end
require("lspconfig").als.setup({
settings = {
ada = {
projectFile = get_config_file(),
},
},
vim.lsp.enable("als")
vim.lsp.config("als", { projectFile = get_config_file() })
vim.lsp.enable("vhdl_ls")
vim.lsp.config("vhdl_ls", {
cmd = { "vhdl_ls" },
filetypes = { "vhdl" },
root_markers = { "vhdl_ls.toml", ".git" },
settings = {},
})
local registry = require("mason-registry")
registry:on("package:install:success", function(pkg)
vim.schedule(function()
vim.notify("Installed " .. pkg.name)
-- Formatter neu laden
package.loaded["formatter"] = nil
require("formatter")
-- ALE reset
vim.cmd("ALEFixSuggest") -- oder ALELint
-- LSP neu attachen
vim.cmd("LspRestart")
end)
end)

View File

@@ -2,10 +2,6 @@
vim.keymap.set("n", "<M-w>", ":bdelete<CR>")
vim.keymap.set("n", "<C-y>", ":BufstopFast<CR>")
-- NERDTree Config
vim.g.NERDTreeShowHidden = 1
vim.keymap.set("n", "<C-e>", ":NERDTreeToggle<CR>")
-- Telescope snippet
local builtin = require("telescope.builtin")
vim.keymap.set("n", "<leader>ff", builtin.find_files, {})

View File

@@ -11,7 +11,7 @@ local function setup_pascal()
-- if return value is 1, get ptop
if check_ptop == 1 then
os.execute("wget -O ~/.local/bin/ptop https://www.nickr.eu/data/ptop64")
os.execute("wget -O ~/.local/bin/ptop https://www.nichkara.eu/data/ptop64")
os.execute("chmod +x ~/.local/bin/ptop")
end
@@ -35,22 +35,3 @@ vim.api.nvim_create_autocmd({ "BufLeave" }, {
pattern = { "*.pas" },
callback = leave_pascal,
})
-- @name auto_format
-- @param
-- @short The format function for pascal.
local function auto_format()
vim.cmd("checktime %")
local write_cmd = "ptop -i 4 -c ~/.config/nvim/ptop.conf "
.. vim.api.nvim_buf_get_name(0)
.. " "
.. vim.api.nvim_buf_get_name(0)
os.execute(write_cmd)
vim.cmd("checktime %")
end
-- Add formatter command
--vim.api.nvim_create_autocmd({ "BufWritePost" }, {
-- pattern = { "*.pas" },
-- callback = auto_format,
--})

View File

@@ -25,6 +25,9 @@ require("pascal_mode")
-- Ada mode (supported by plugins)
require("ada_mode")
-- Explorer (oil)
require("explorer")
-- Markdown Preview
vim.g.mkdp_auto_start = 0
vim.g.mkdp_browser = "epiphany"
@@ -56,5 +59,4 @@ vim.g.gitblame_date_format = "%r"
vim.keymap.set("n", "<C-t>", ":FloatermNew --height=0.9 --width=0.9 --wintype=float --name=terminal <CR>")
-- Set default colorscheme
-- vim.cmd("colo vim-monokai-tasty")
vim.cmd("colo vim-monokai-tasty")
vim.cmd("colo synthweave-transparent")

View File

@@ -7,11 +7,8 @@ return {
"SirVer/UltiSnips",
"cohama/lexima.vim",
"voldikss/vim-floaterm",
"https://git.nickr.eu/yannickreiss/nvim-sourcer.git",
-- Navigation
"preservim/nerdtree",
"Xuyuanp/nerdtree-git-plugin",
"mihaifm/bufstop",
{
"nvim-telescope/telescope-fzf-native.nvim",
@@ -20,12 +17,22 @@ return {
{ "tzachar/fuzzy.nvim", requires = { "nvim-telescope/telescope-fzf-native.nvim" } },
"fhill2/telescope-ultisnips.nvim",
"preservim/tagbar",
{
"stevearc/oil.nvim",
---@module 'oil'
---@type oil.SetupOpts
opts = {},
-- Optional dependencies
dependencies = { { "nvim-mini/mini.icons", opts = {} } },
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
lazy = false,
},
-- Visuals
"vim-airline/vim-airline",
"vim-airline/vim-airline-themes",
"ryanoasis/vim-devicons",
"tiagofumo/vim-nerdtree-syntax-highlight",
{
"nvim-telescope/telescope.nvim",
tag = "0.1.5",
@@ -34,26 +41,6 @@ return {
"nvim-tree/nvim-web-devicons",
{ "romgrk/barbar.nvim", wants = "nvim-web-devicons" },
"mhinz/vim-startify",
"p00f/nvim-ts-rainbow",
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
-- ensure_installed = { "c", "vim", "ada", "html", "python" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = 3000,
},
})
end,
},
"dense-analysis/ale",
"f-person/git-blame.nvim",
"dstein64/vim-startuptime",
@@ -67,17 +54,20 @@ return {
end,
ft = { "markdown" },
},
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
---@module "ibl"
---@type ibl.config
opts = {},
},
-- Themes
"folke/tokyonight.nvim",
"patstockwell/vim-monokai-tasty",
"hiroakis/cyberspace.vim",
"jaredgorski/spacecamp",
{
"scottmckendry/cyberdream.nvim",
lazy = false,
priority = 1000,
},
"scottmckendry/cyberdream.nvim",
"samharju/synthweave.nvim",
-- Code completion / Menu
"hrsh7th/nvim-cmp",
@@ -102,9 +92,9 @@ return {
"mhartington/formatter.nvim",
{ "TamaMcGlinn/nvim-lspconfig-ada" },
"sainnhe/sonokai",
"veryl-lang/veryl.vim",
-- Plugins to test
"https://git.nickr.eu/yannickreiss/nvim-macrotool.git",
-- Wiki
{
@@ -125,7 +115,12 @@ return {
{ "<leader>wT", "<cmd>lua require('neowiki').open_wiki_new_tab()<cr>", desc = "Open Wiki in Tab" },
},
},
{
"brianhuster/live-preview.nvim",
dependencies = {
"nvim-telescope/telescope.nvim",
},
},
-- Lean
{
"Julian/lean.nvim",

View File

@@ -3,3 +3,12 @@ vim.g.UltiSnipsJumpForwardTrigger = "<c-l>"
vim.g.UltiSnipsJumpBackwardTrigger = "<c-h>"
vim.g.UltiSnipsEditSplit = "vertical"
vim.g.UltiSnipsSnippetDirectories = { "~/.config/nvim/UltiSnips" }
-- Keymaps
vim.keymap.set({ "i", "s" }, "<c-l>", function()
vim.fn["UltiSnips#JumpForwards"]()
end)
vim.keymap.set({ "i", "s" }, "<c-h>", function()
vim.fn["UltiSnips#JumpBackwards"]()
end)

View File

@@ -20,6 +20,7 @@ vim.opt.relativenumber = false
vim.g.mapleader = ","
vim.cmd("set clipboard+=unnamedplus")
vim.cmd("autocmd! CursorHold,CursorHoldI *.md write")
vim.cmd("autocmd! CursorHold,CursorHoldI *.hs write")
vim.cmd("set autoread")
-- GUI
@@ -46,60 +47,8 @@ vim.keymap.set("n", "<leader>lm", ":set number<cr>")
vim.keymap.set("n", "<leader>na", ":set norelativenumber<cr>")
vim.keymap.set("n", "<leader>nr", ":set relativenumber<cr>")
-- Nix mode
local nix_interpreter_buffer = -1
local nix_interpreter_window = -1
-- @name run_nix_interpreter
-- @param
-- @short Run nix and output to a buffer on the right
local function run_nix_interpreter()
local original_win = vim.api.nvim_get_current_win()
vim.cmd("vsplit")
nix_interpreter_buffer = vim.api.nvim_create_buf(false, true)
vim.api.nvim_win_set_buf(0, nix_interpreter_buffer)
nix_interpreter_window = vim.api.nvim_get_current_win()
vim.api.nvim_set_current_win(original_win)
end
-- @name update_nix_interpreter
-- @param
-- @short Run nix enterpreter on that file.
local function update_nix_interpreter()
local filename = vim.api.nvim_buf_get_name(0)
if filename == "" then
vim.api.nvim_buf_set_lines(nix_interpreter_buffer, 0, -1, false, {
"Error: Current buffer has no file name.",
})
return
end
local cmd = { "nix-instantiate", "--eval", "--strict", filename }
local output = vim.fn.systemlist(cmd)
if vim.v.shell_error ~= 0 then
table.insert(output, 1, "Error running nix-instantiate:")
end
vim.api.nvim_buf_set_lines(nix_interpreter_buffer, 0, -1, false, output)
end
-- @name close_nix_interpreter
-- @param
-- @short Closes the window and buffer of the interpreter
local function close_nix_interpreter()
vim.api.nvim_buf_delete(nix_interpreter_buffer, { unload = true })
vim.api.nvim_win_close(nix_interpreter_window, true)
end
vim.api.nvim_create_autocmd({ "BufEnter" }, {
pattern = { "*.nix" },
callback = run_nix_interpreter,
})
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
pattern = { "*.nix" },
callback = update_nix_interpreter,
})
vim.api.nvim_create_autocmd({ "BufLeave" }, {
pattern = { "*.nix" },
callback = close_nix_interpreter,
vim.filetype.add({
extension = {
bf = "brainfuck",
},
})

View File

@@ -1,13 +1,8 @@
-- vim dummy assignment for the lsp
if vim == nil then
local vim = {}
end
-- Setup the formatter for VHDL
-- Download for current platform type if not already present
local check_formatter = { os.execute("which ~/.local/bin/vhdlfmt") }
if check_formatter == 1 then
-- setup the formatter here
os.execute("wget -O ~/.local/bin/vhdlfmt https://www.nickr.eu/data/vhdlfmt")
os.execute("wget -O ~/.local/bin/vhdlfmt https://www.nichkara.eu/data/vhdlfmt")
os.execute("chmod +x ~/.local/bin/vhdlfmt")
end

View File

@@ -1,380 +0,0 @@
transgender
python
SI
Tera
Giga
Mega
kilo
hekto
Deka
dezi
centi
milli
mikro
nano
piko
femto
atto
blue
Summenregel
Konstantenregel
itemize
Maschengleichungen
Maschenstromverfahren
rho
green
Maschensatz
Maschenregel
Date
Author
Lian
Sep
CEST
Nm
cos
sin
Jacobideterminante
Chlorionen
Coulombkraft
Coulomb'schen
Youtube
Whiteboard
DuckDuckGo
duckduckgo
Ecosia
ecosia
DOSB
https
www
org
search
method
index
com
Scherenschlag
ausschwimmen
Gewöhnungsübung
Scherenschlages
Theorieteil
Whatsapp
Ghiuri
Fiona
Nenke
Mia
Femdt
Trainingzeiten
Katha
OFF
ä
ä
Fornauf
Präventionsseminar
KJM
Juleica
Lotz
Laju
Plätzchenbacken
DLRG
Teambuildingmaßnahmen
Fileshare
Verplegung
Teambuildingmaßnahme
Nachnahme/!
Skale
Bins
äqudidistant
univariat
Lageparameter
yellow
center
tabular
Modalwert
Streuungsparameter
Zusammenhangsparameter
univariate
Modalwerte
multi
Range
Verschiebungssatz
violet
Regressionsprobleme
indigo
Squares
Square
xy
enumerate
Multiplikationssatz
Binomial
hypergeometrische
hypergeometrisch
hypergeometrischer
cc
Poisson
Uniformverteilung
uniformverteilt
exponentialverteilt
Gauß'sche
standardnormalverteilt
Achsenssymmetrisch
Trapezregel
Simpson
standardnormalverteilte
Intervallschätzung
Konfidenz
argmax
logarithmierten
Likelihoodfunktion
logarithmierte
Likelihood
cccc
Exponential
erwartungstreu
Intervallschätzer
Intervallschätzern
Student'sche
Intervallformel
Quantiltabelle
Testvariable
Quantiltabllen
Signifikanzlevel
domänenabhängig
kongeriert
white
HEP
IHP
of
Chain
Security
by
Obscurity
Werkzeuge
ASICs
Skywater
RISC
Open
PDK
Source
closed
open
Exfiltration
access
remote
code
execution
source
Backdoor
no
Wavetable
Ausschwingteil
FPGA
Hüllkurvengenerator
Physical
Modelling
FM
Granularsynthese
HCM
übermischt
PWM
Netzwerkschnittstellen
zuteilbaren
Betriebsmittelnutzung
Zuses
Z3
Interkompatibilität
Very
Large
Scale
Safety
Multiprocessing
SMP
AMP
Middleware
syscalls
TRAP
Kernelmode
Usermode
Syscall
aktueller
TODO
Sky
Process
ICs
Central
Processing
Units
Multiplikationsbeschleuniger
Modules
HSM
VHDL
Verilog
SpinalHDL
TODO
rm
hs
student
reiss
yannick
yreis001
Oct
Sat
on
process
fabrication
the
part
taking
parties
different
Add
N50
IEEEtran
Aufspürbarkeit
zielspezifische
Microchips
syswrite
bsp
system
operating
PCB
Threads
Trusted
Scheduling
Print
ISC
Sewobe
Timetable
Round
Scheduler
Traps
IVT
pid
int
status
Kindprozesses
ID
wait
exit
Thread
pthread
POSIX
pthreads
opts
waitpid
IRT
Dispatch
Latency
PDLT
SWT
Performancegewinn
auch
toolchain
EDA
Entwicklungswerkzeuge
Progenitor
software
concept
proof
VexRISCV
litex
VexRiscv
Vivado
FPGAs
Low
OpenWRT
VecRiscv
buildroot
High
TPM
modules
platform
trusted
VE
Waveform
Synthesizerimplementierung
Kologromov
frame
Sampling
empty
Kindprozesse
Kernelaufrufe
root
sigpause
Signalhandler
Nachrichtenorientierte
send
receive
duty
cycles
Skalier
mHz
Cycle
Lookup
rodata
text
data
bss
Heap
pop
push
Overflow
LIFO
free
malloc
Relokationsproblem
Heaps
Relokation
Mikrocontrollersystemen
Debugging
Metaspeicher
Soundcard
ressourcenbeschränkten
Nexys
Mono
Zynq
Z7
Arty
Repository
Rotating
first
Next
Worst
Knuth
Allokationsalgorithmus
Buddy
Buddies
werden
werden
Kolmogorov
Bayes
German
Instagram
Tablet
Abschwington
BerndDasBot
Frameworks
Tuples
structs
make
IoT
json
Request
Dictionary
Everything
Disclaimer
linuxspezifischen
linuxspezifischen
cron
false
true
boolsche
bash
zsh
sockets
requests
otwendige
ptionale
utomatischer
anueller
nickr
eu
email

Binary file not shown.

View File

@@ -1,175 +0,0 @@
t0
UltiSnipsConfig
yannick
CEST
Reiss
reiss
protonmail
focusable
unmodifiable
nvim
buf
argv
param
argc
filename
unallocated
extractTokens
are
github
DoomEngine
struct
OpenGL
src
dir
README
Makefile
DEVILENGINE
for
x7
u3
md
apk
Reiß
brainfuck
clk
jmp
pc
bfpu
hardcoded
logisim
intoLogisim
unallocated
filetype
Risc
trojan
netlist
risc
ic
VexRISCV
noob
Qualcolm
0
Knowledge
Knowledge
trojans
C3
g
Fabio
Stöttinger
backend
PDK
Sky130
cryptographic
#anpulation
manpulation/!
hdl
tokenizer
testToken
testBrackets
CCompiler
Tokenize
tokenize
SpinalHDL
HSM
riscv
https
VexRiscv
VexRiscv
crypto
openlane
IHP
AUTOSAR
toolchain
FPGAs
efabless
ICs
unmatching
photonic
cryptoalgorithms
depackage
PIPs
detectability
runtime
IDDT
SoC
asic
GDS
RTL
IPs
nm
PDKs
EDA
ASICs
Tapeout
OpenROAD
OpenLANE
GDSII
SoCs
StriVe
Qflow
Verilog
Toolchains
DFT
ATPG
Floorplanning
OpenSTA
Yosys
LEC
CTS
backdoors
themself
intel
Calma's
nsf
Vec
plugconfig
folke
viml
config
confformat
plugbench
jedec
Graf
HoP
Hearttron
lexed
malloc
nicklang
NL
Rhein
Wiesbaden
Crysler
TT
ssm
automata
IEEEtran
de
hs
yreis001
CET
M4
on
evaluator
basisc
untrusted
VHDL
floorplanning
toolchains
OpenLane
floorplanner
combinational
pinetime
nRF52832
nordic
openROAD
gcc
linux
chibicc
chibi
readonly
extern

Binary file not shown.

31
vhdl_defaults.toml Normal file
View File

@@ -0,0 +1,31 @@
# What standard to use. This is optional and defaults to VHDL2008.
standard = "2008"
# File names are either absolute or relative to the parent folder of the vhdl_ls.toml file
[libraries]
lib2.files = [
'pkg2.vhd',
]
lib1.files = [
'pkg1.vhd',
'tb_ent.vhd'
]
# Wildcards and exclude patterns are supported
lib3.files = [
'test/*.vhd',
'src/*.vhd',
'src/*/*.vhd',
]
lib3.exclude = [
'test/*_old.vhd',
]
# Libraries can be marked as third-party to disable some analysis warnings, such as unused declarations
UNISIM.files = [
'C:\Xilinx\Vivado\2023.1\data\vhdl\src\unisims\unisim_VCOMP.vhd',
]
UNISIM.is_third_party = true
[lint]
unused = 'error' # Upgrade the 'unused' diagnostic to the 'error' severity
unnecessary_work_library = false # Disable linting for the 'library work;' statement