6 Commits

Author SHA1 Message Date
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
18 changed files with 84 additions and 24 deletions

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 Chloé 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

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 Chloé Kassandra Reiß <nina.reiss@nickr.eu>
endsnippet
snippet credhsrm "Credentials HSRM"

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 Chloé Kassandra Reiß <nina.reiss@nickr.eu>}
; Date: `date`
; Description: ${3:Desciption}

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 Chloé 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 Chloé Kassandra Reiß <nina.reiss@nickr.eu>}.
*CONTENT. ${3:Beschreibung}.
*-----------------------------------------------------------------

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 Chloé Kassandra Reiß <nina.reiss@nickr.eu>}
-- Copyright: ${2:MIT-License}
-- Description: ${3:Funny lua script}
$0

View File

@@ -1,7 +1,7 @@
snippet helloworld "Hello world example" b
"""
File: `!p snip.rv = fn`
Author: Nicki
Author: Nina Chloé 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 Chloé Kassandra Reiß <nina.reiss@nickr.eu>}
Created on: `date`
Description: ${2:No further description}
"""

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 Chloé 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

@@ -51,10 +51,6 @@ vim.api.nvim_create_autocmd({ "BufEnter" }, {
-- @param
-- @short Leave ada and reverse any changes to my editor defaults
local function leave_ada()
vim.keymap.del("n", "<leader>cb", ":!gnatpp %<cr>")
vim.keymap.del("n", "pp", ":lua Close_Prove()<cr>")
vim.keymap.del("n", "<leader>pp", ":lua Prove()<cr>")
vim.keymap.del("n", "<leader>op", ":lua Run()<cr>")
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
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

View File

@@ -71,6 +71,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

@@ -10,6 +10,7 @@ local linters = {
tex = { "proselint" },
plaintex = { "proselint" },
ada = { "gnat", "gcc", "adals", "cspell" },
vhdl = {},
}
local fixers = {
@@ -30,6 +31,8 @@ local fixers = {
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

@@ -56,3 +56,11 @@ end
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 = {},
})

View File

@@ -56,5 +56,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")

View File

@@ -77,11 +77,8 @@ return {
"patstockwell/vim-monokai-tasty",
"hiroakis/cyberspace.vim",
"jaredgorski/spacecamp",
{
"scottmckendry/cyberdream.nvim",
lazy = false,
priority = 1000,
},
"samharju/synthweave.nvim",
-- Code completion / Menu
"hrsh7th/nvim-cmp",

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