Compare commits
29 Commits
master
...
ba38abd4c7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba38abd4c7 | ||
|
|
8b0409f3cb | ||
|
|
7bb0a29f5c | ||
|
|
aaedc00d6d | ||
|
|
f980944725 | ||
|
|
952048bd59 | ||
|
|
4e19351253 | ||
|
|
bede228921 | ||
|
|
952b9518b1 | ||
|
|
92ef872202 | ||
|
|
4b1aa4c634 | ||
|
|
3a69bd9cd9 | ||
|
|
d52f69ebf4 | ||
|
|
380e2470b3 | ||
|
|
c4dab62f6e | ||
|
|
6024d4e803 | ||
|
|
5afb974b78 | ||
|
|
7b3f516848 | ||
|
|
19b0ce44bc | ||
|
|
aa7025dfc7 | ||
|
|
576bb711bb | ||
|
|
ff55d76f71 | ||
|
|
b14e810dec | ||
|
|
19a27a004e | ||
|
|
fb966de276 | ||
|
|
ead1e9baa8 | ||
|
|
bfc3c57d19 | ||
|
|
d55b376ba8 | ||
|
|
f96b560ca7 |
8
.gitignore
vendored
8
.gitignore
vendored
@@ -1,6 +1,8 @@
|
|||||||
lastSession.vim
|
lastSession.vim
|
||||||
plugin/
|
plugin/
|
||||||
spell/
|
spell/
|
||||||
./mail_password
|
spell/*
|
||||||
./lua/irc.lua
|
spell
|
||||||
./lazy-lock.json
|
mail_password
|
||||||
|
lua/irc.lua
|
||||||
|
lazy-lock.json
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ endglobal
|
|||||||
snippet helloworld "Hello world example to test features" b
|
snippet helloworld "Hello world example to test features" b
|
||||||
-- `!p snip.rv = fn`
|
-- `!p snip.rv = fn`
|
||||||
-- Created on: `date`
|
-- 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
|
-- Content: Hello world example
|
||||||
with Ada.Text_IO; use Ada.Text_IO;
|
with Ada.Text_IO; use Ada.Text_IO;
|
||||||
|
|
||||||
@@ -53,9 +53,7 @@ end $1;$0
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet docstring "Document String with most important information" b
|
snippet docstring "Document String with most important information" b
|
||||||
-- `!p snip.rv = fn`
|
-- Author(s): ${1:Nina Chloe Kassandra Reiss <nina.reiss@nickr.eu>}
|
||||||
-- Created on: `date`
|
|
||||||
-- Author(s): ${1:Yannick Reiß}
|
|
||||||
-- Description: ${2:`!p snip.rv = fn.split('.')[0]`}
|
-- Description: ${2:`!p snip.rv = fn.split('.')[0]`}
|
||||||
$0
|
$0
|
||||||
endsnippet
|
endsnippet
|
||||||
@@ -187,8 +185,12 @@ if t[6] == "y":
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet package "Create package configuration" b
|
snippet package "Create package configuration" b
|
||||||
package ${1:body }${2:`!p package_name = fn.split('.')[0]
|
package ${1:body }${2:`!p package_name = fn.split('.')[0].replace("-", ".")
|
||||||
snip.rv = package_name[0].upper() + package_name[1:]`} is
|
components = package_name.split('.')
|
||||||
|
structured = ""
|
||||||
|
for component in components:
|
||||||
|
structured = structured + "." + component[0].upper() + component[1:]
|
||||||
|
snip.rv = structured[1:]`} is
|
||||||
$0
|
$0
|
||||||
end $2;
|
end $2;
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ snippet dd "Date and Time" i
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet crednick "My private Credentials"
|
snippet crednick "My private Credentials"
|
||||||
Yannick Reiss <yannick.reiss@nickr.eu>
|
Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet credhsrm "Credentials HSRM"
|
snippet credhsrm "Credentials HSRM"
|
||||||
@@ -47,7 +47,7 @@ ${10:`cat ~/.signature.txt`}
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet crednina "My true credentials"
|
snippet crednina "My true credentials"
|
||||||
Nina Chloé Kassandra Reiß <nina.reiss@nickr.eu>
|
Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet pwd "Print the current working directory"
|
snippet pwd "Print the current working directory"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ endsnippet
|
|||||||
|
|
||||||
snippet template "Template for assembly program"
|
snippet template "Template for assembly program"
|
||||||
global ${1:_start} ; linker entry point
|
global ${1:_start} ; linker entry point
|
||||||
; Author: ${2: Yannick Reiß}
|
; Author: ${2:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}
|
||||||
; Date: `date`
|
; Date: `date`
|
||||||
; Description: ${3:Desciption}
|
; Description: ${3:Desciption}
|
||||||
|
|
||||||
|
|||||||
7
UltiSnips/brainfuck.snippets
Normal file
7
UltiSnips/brainfuck.snippets
Normal 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
|
||||||
@@ -124,7 +124,7 @@ endsnippet
|
|||||||
snippet docstring "Meta Comment for Documenation" A
|
snippet docstring "Meta Comment for Documenation" A
|
||||||
/*
|
/*
|
||||||
* Filename: `!p snip.rv = fn`
|
* Filename: `!p snip.rv = fn`
|
||||||
* Author: ${1:Yannick Reiss}
|
* Author: ${1:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}
|
||||||
* Date: `date`
|
* Date: `date`
|
||||||
* Project: ${2:Project Name}
|
* Project: ${2:Project Name}
|
||||||
* Copyright: ${3:None}
|
* Copyright: ${3:None}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ snippet template "template for new program" A
|
|||||||
*-----------------------------------------------------------------
|
*-----------------------------------------------------------------
|
||||||
IDENTIFICATION DIVISION.
|
IDENTIFICATION DIVISION.
|
||||||
PROGRAM-ID. ${1:Title}.
|
PROGRAM-ID. ${1:Title}.
|
||||||
*AUTHOR. ${2:Yannick Reiß}.
|
*AUTHOR. ${2:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}.
|
||||||
*CONTENT. ${3:Beschreibung}.
|
*CONTENT. ${3:Beschreibung}.
|
||||||
*-----------------------------------------------------------------
|
*-----------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -17,3 +17,37 @@ endsnippet
|
|||||||
snippet >> "Line break / closing tag"
|
snippet >> "Line break / closing tag"
|
||||||
</${1:br}>$0
|
</${1:br}>$0
|
||||||
endsnippet
|
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
|
||||||
|
|||||||
@@ -35,3 +35,7 @@ endsnippet
|
|||||||
snippet A "All"
|
snippet A "All"
|
||||||
∀
|
∀
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet . "Dot"
|
||||||
|
·
|
||||||
|
endsnippet
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
snippet docstring "Document string" b
|
snippet docstring "Document string" b
|
||||||
-- Filename: `!p snip.rv = fn`
|
-- Filename: `!p snip.rv = fn`
|
||||||
-- Author: ${1:Yannick Reiß}
|
-- Author: ${1:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}
|
||||||
-- Copyright: ${2:MIT-License}
|
-- Copyright: ${2:MIT-License}
|
||||||
-- Description: ${3:Funny lua script}
|
-- Description: ${3:Funny lua script}
|
||||||
$0
|
$0
|
||||||
|
|||||||
@@ -75,7 +75,18 @@ if t[19] == "y":
|
|||||||
t[19] = "Created!"
|
t[19] = "Created!"
|
||||||
if t[20] == "y":
|
if t[20] == "y":
|
||||||
system(f"git init > /dev/null")
|
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
|
$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
snippet helloworld "Hello world example" b
|
snippet helloworld "Hello world example" b
|
||||||
"""
|
"""
|
||||||
File: `!p snip.rv = fn`
|
File: `!p snip.rv = fn`
|
||||||
Author: Nicki
|
Author: Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>
|
||||||
Created on: `date`
|
Created on: `date`
|
||||||
Description: Hello world python example
|
Description: Hello world python example
|
||||||
"""
|
"""
|
||||||
@@ -14,7 +14,7 @@ endsnippet
|
|||||||
snippet docmodule "Documentation for modules"
|
snippet docmodule "Documentation for modules"
|
||||||
"""
|
"""
|
||||||
File: `!p snip.rv = fn`
|
File: `!p snip.rv = fn`
|
||||||
Author: ${1:Yannick Reiß}
|
Author: ${1:Nina Chloe Kassandra Reiß <nina.reiss@nickr.eu>}
|
||||||
Created on: `date`
|
Created on: `date`
|
||||||
Description: ${2:No further description}
|
Description: ${2:No further description}
|
||||||
"""
|
"""
|
||||||
|
|||||||
32
UltiSnips/systemverilog.snippets
Normal file
32
UltiSnips/systemverilog.snippets
Normal 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
|
||||||
@@ -93,7 +93,7 @@ endsnippet
|
|||||||
|
|
||||||
snippet textemplate "include header" A
|
snippet textemplate "include header" A
|
||||||
\\input{~/latex/header.tex}
|
\\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}
|
\\begin{document}
|
||||||
\\input{~/latex/init.tex}
|
\\input{~/latex/init.tex}
|
||||||
|
|||||||
13
UltiSnips/veryl.snippets
Normal file
13
UltiSnips/veryl.snippets
Normal 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
|
||||||
@@ -49,7 +49,7 @@ endsnippet
|
|||||||
snippet docstring "Header Comment" A
|
snippet docstring "Header Comment" A
|
||||||
-- `!p snip.rv = fn`
|
-- `!p snip.rv = fn`
|
||||||
-- Created on: `date`
|
-- Created on: `date`
|
||||||
-- Author(s): ${1:Nina Chloé Reiß}
|
-- Author(s): ${1:Nina Chloe Reiß}
|
||||||
-- Content: ${2: Entity `!p snip.rv = fn.split('.')[0]`}
|
-- Content: ${2: Entity `!p snip.rv = fn.split('.')[0]`}
|
||||||
$0
|
$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
-- Lua vim-dummy variable
|
|
||||||
if vim == nil then
|
|
||||||
local vim = {}
|
|
||||||
end
|
|
||||||
|
|
||||||
-- @name Prove
|
-- @name Prove
|
||||||
-- @param
|
-- @param
|
||||||
-- @short Run gnatprove
|
-- @short Run gnatprove
|
||||||
@@ -12,7 +7,7 @@ function Prove()
|
|||||||
vim.api.nvim_buf_set_lines(0, 0, -1, false, run_cmd)
|
vim.api.nvim_buf_set_lines(0, 0, -1, false, run_cmd)
|
||||||
vim.cmd(":%!bash")
|
vim.cmd(":%!bash")
|
||||||
|
|
||||||
buffer_loaded = true
|
Buffer_loaded = true
|
||||||
end
|
end
|
||||||
|
|
||||||
-- @name Run
|
-- @name Run
|
||||||
@@ -24,25 +19,24 @@ function Run()
|
|||||||
vim.api.nvim_buf_set_lines(0, 0, -1, false, run_cmd)
|
vim.api.nvim_buf_set_lines(0, 0, -1, false, run_cmd)
|
||||||
vim.cmd(":%!bash")
|
vim.cmd(":%!bash")
|
||||||
|
|
||||||
buffer_loaded = true
|
Buffer_loaded = true
|
||||||
end
|
end
|
||||||
|
|
||||||
function Close_Prove()
|
function Close_Prove()
|
||||||
if buffer_loaded then
|
if Buffer_loaded then
|
||||||
buffer_loaded = false
|
Buffer_loaded = false
|
||||||
vim.cmd("bd!")
|
vim.cmd("bd!")
|
||||||
end
|
end
|
||||||
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
|
-- @name setup_ada
|
||||||
-- @param
|
-- @param
|
||||||
-- @short Verify installation of ada tools or install them.
|
-- @short Verify installation of ada tools or install them.
|
||||||
local function setup_ada()
|
local function setup_ada()
|
||||||
vim.keymap.set("n", "<leader>cb", ":!gnatpp %<cr>")
|
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.tabstop = 3
|
||||||
vim.opt.shiftwidth = 3
|
vim.opt.shiftwidth = 3
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ vim.opt.completeopt = { "menu", "menuone" }
|
|||||||
|
|
||||||
-- shortmess is used to reduce verbocity
|
-- shortmess is used to reduce verbocity
|
||||||
-- vim.opt.shortmess = vim.opt.shortmess + { c = true }
|
-- vim.opt.shortmess = vim.opt.shortmess + { c = true }
|
||||||
|
-- ERROR: Unable to load module
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
-- configuration
|
-- configuration
|
||||||
|
|||||||
203
lua/explorer.lua
Normal file
203
lua/explorer.lua
Normal 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" })
|
||||||
@@ -43,6 +43,14 @@ require("formatter").setup({
|
|||||||
require("formatter.filetypes.rust").rustfmt,
|
require("formatter.filetypes.rust").rustfmt,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
function()
|
||||||
|
return {
|
||||||
|
exe = "nixfmt",
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
haskell = {
|
haskell = {
|
||||||
function()
|
function()
|
||||||
-- Full specification of configurations is down below and in Vim help
|
-- 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
|
-- Full specification of configurations is down below and in Vim help
|
||||||
-- files
|
-- files
|
||||||
return {
|
return {
|
||||||
exe = "vhdlfmt",
|
exe = "vsg",
|
||||||
args = {
|
args = {
|
||||||
util.escape_path(util.get_current_buffer_file_path()),
|
util.escape_path(util.get_current_buffer_file_path()),
|
||||||
},
|
},
|
||||||
@@ -71,6 +79,16 @@ require("formatter").setup({
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
veryl = {
|
||||||
|
function()
|
||||||
|
return {
|
||||||
|
exe = "veryl fmt",
|
||||||
|
args = {},
|
||||||
|
stdin = false,
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
-- Use the special "*" filetype for defining formatter configurations on
|
-- Use the special "*" filetype for defining formatter configurations on
|
||||||
-- any filetype
|
-- any filetype
|
||||||
["*"] = {
|
["*"] = {
|
||||||
|
|||||||
@@ -1,15 +1,16 @@
|
|||||||
-- Ale configuration
|
-- Ale configuration
|
||||||
vim.g.ale_linters_explicit = 0
|
vim.g.ale_linters_explicit = 0
|
||||||
local linters = {
|
local linters = {
|
||||||
python = { "pylint" },
|
|
||||||
vim = { "vint" },
|
|
||||||
cpp = { "clang" },
|
|
||||||
c = { "clang" },
|
|
||||||
markdown = { "languagetool" },
|
|
||||||
latex = { "proselint" },
|
|
||||||
tex = { "proselint" },
|
|
||||||
plaintex = { "proselint" },
|
|
||||||
ada = { "gnat", "gcc", "adals", "cspell" },
|
ada = { "gnat", "gcc", "adals", "cspell" },
|
||||||
|
c = { "clang" },
|
||||||
|
cpp = { "clang" },
|
||||||
|
latex = { "proselint" },
|
||||||
|
markdown = { "languagetool" },
|
||||||
|
plaintex = { "proselint" },
|
||||||
|
python = { "pylint" },
|
||||||
|
tex = { "proselint" },
|
||||||
|
vhdl = {},
|
||||||
|
vim = { "vint" },
|
||||||
}
|
}
|
||||||
|
|
||||||
local fixers = {
|
local fixers = {
|
||||||
@@ -17,18 +18,23 @@ local fixers = {
|
|||||||
asm = { "gcc" },
|
asm = { "gcc" },
|
||||||
bash = { "bashate" },
|
bash = { "bashate" },
|
||||||
c = { "astyle" },
|
c = { "astyle" },
|
||||||
|
haskell = { "fourmolu" },
|
||||||
|
html = { "prettier", "html-beautify" },
|
||||||
latex = { "texlab", "textlint" },
|
latex = { "texlab", "textlint" },
|
||||||
tex = { "textlint" },
|
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
markdown = { "prettier", "pandoc" },
|
markdown = { "prettier", "pandoc" },
|
||||||
python = { "yapf" },
|
nix = { "nixfmt" },
|
||||||
pascal = { "ptop" },
|
pascal = { "ptop" },
|
||||||
haskell = { "fourmolu" },
|
python = { "yapf", "ruff", "autopep8" },
|
||||||
|
rust = { "rustfmt" },
|
||||||
|
tex = { "textlint", "latexindent" },
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.g.ale_linters = linters
|
vim.g.ale_linters = linters
|
||||||
vim.g.ale_fix_on_save = 0
|
vim.g.ale_fix_on_save = 0
|
||||||
vim.g.ale_fixers = fixers
|
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>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>")
|
||||||
|
|||||||
@@ -15,41 +15,14 @@ require("mason-lspconfig").setup({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- require("mason-lspconfig").setup_handlers({
|
vim.lsp.enable("verible")
|
||||||
-- function(asm_lsp)
|
vim.lsp.config("verible", { cmd = { "verible-verilog-ls", "--rules_config_search" } })
|
||||||
-- 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,
|
|
||||||
-- })
|
|
||||||
|
|
||||||
require("lspconfig").verible.setup({
|
vim.lsp.enable("clangd")
|
||||||
cmd = { "verible-verilog-ls", "--rules_config_search" },
|
vim.lsp.config("clangd", {
|
||||||
|
cmd = { "clangd" },
|
||||||
|
root_markers = { ".clangd" },
|
||||||
|
filetypes = { "c", "cpp" },
|
||||||
})
|
})
|
||||||
|
|
||||||
-- @name file_exists
|
-- @name file_exists
|
||||||
@@ -81,10 +54,31 @@ local function get_config_file()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
require("lspconfig").als.setup({
|
vim.lsp.enable("als")
|
||||||
settings = {
|
vim.lsp.config("als", { projectFile = get_config_file() })
|
||||||
ada = {
|
|
||||||
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)
|
||||||
|
|||||||
@@ -2,10 +2,6 @@
|
|||||||
vim.keymap.set("n", "<M-w>", ":bdelete<CR>")
|
vim.keymap.set("n", "<M-w>", ":bdelete<CR>")
|
||||||
vim.keymap.set("n", "<C-y>", ":BufstopFast<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
|
-- Telescope snippet
|
||||||
local builtin = require("telescope.builtin")
|
local builtin = require("telescope.builtin")
|
||||||
vim.keymap.set("n", "<leader>ff", builtin.find_files, {})
|
vim.keymap.set("n", "<leader>ff", builtin.find_files, {})
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ local function setup_pascal()
|
|||||||
|
|
||||||
-- if return value is 1, get ptop
|
-- if return value is 1, get ptop
|
||||||
if check_ptop == 1 then
|
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")
|
os.execute("chmod +x ~/.local/bin/ptop")
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -35,22 +35,3 @@ vim.api.nvim_create_autocmd({ "BufLeave" }, {
|
|||||||
pattern = { "*.pas" },
|
pattern = { "*.pas" },
|
||||||
callback = leave_pascal,
|
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,
|
|
||||||
--})
|
|
||||||
|
|||||||
@@ -25,6 +25,9 @@ require("pascal_mode")
|
|||||||
-- Ada mode (supported by plugins)
|
-- Ada mode (supported by plugins)
|
||||||
require("ada_mode")
|
require("ada_mode")
|
||||||
|
|
||||||
|
-- Explorer (oil)
|
||||||
|
require("explorer")
|
||||||
|
|
||||||
-- Markdown Preview
|
-- Markdown Preview
|
||||||
vim.g.mkdp_auto_start = 0
|
vim.g.mkdp_auto_start = 0
|
||||||
vim.g.mkdp_browser = "epiphany"
|
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>")
|
vim.keymap.set("n", "<C-t>", ":FloatermNew --height=0.9 --width=0.9 --wintype=float --name=terminal <CR>")
|
||||||
|
|
||||||
-- Set default colorscheme
|
-- Set default colorscheme
|
||||||
-- vim.cmd("colo vim-monokai-tasty")
|
vim.cmd("colo synthweave-transparent")
|
||||||
vim.cmd("colo vim-monokai-tasty")
|
|
||||||
|
|||||||
@@ -7,11 +7,8 @@ return {
|
|||||||
"SirVer/UltiSnips",
|
"SirVer/UltiSnips",
|
||||||
"cohama/lexima.vim",
|
"cohama/lexima.vim",
|
||||||
"voldikss/vim-floaterm",
|
"voldikss/vim-floaterm",
|
||||||
"https://git.nickr.eu/yannickreiss/nvim-sourcer.git",
|
|
||||||
|
|
||||||
-- Navigation
|
-- Navigation
|
||||||
"preservim/nerdtree",
|
|
||||||
"Xuyuanp/nerdtree-git-plugin",
|
|
||||||
"mihaifm/bufstop",
|
"mihaifm/bufstop",
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope-fzf-native.nvim",
|
"nvim-telescope/telescope-fzf-native.nvim",
|
||||||
@@ -20,12 +17,22 @@ return {
|
|||||||
{ "tzachar/fuzzy.nvim", requires = { "nvim-telescope/telescope-fzf-native.nvim" } },
|
{ "tzachar/fuzzy.nvim", requires = { "nvim-telescope/telescope-fzf-native.nvim" } },
|
||||||
"fhill2/telescope-ultisnips.nvim",
|
"fhill2/telescope-ultisnips.nvim",
|
||||||
"preservim/tagbar",
|
"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
|
-- Visuals
|
||||||
"vim-airline/vim-airline",
|
"vim-airline/vim-airline",
|
||||||
"vim-airline/vim-airline-themes",
|
"vim-airline/vim-airline-themes",
|
||||||
"ryanoasis/vim-devicons",
|
"ryanoasis/vim-devicons",
|
||||||
"tiagofumo/vim-nerdtree-syntax-highlight",
|
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
tag = "0.1.5",
|
tag = "0.1.5",
|
||||||
@@ -34,26 +41,6 @@ return {
|
|||||||
"nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
{ "romgrk/barbar.nvim", wants = "nvim-web-devicons" },
|
{ "romgrk/barbar.nvim", wants = "nvim-web-devicons" },
|
||||||
"mhinz/vim-startify",
|
"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",
|
"dense-analysis/ale",
|
||||||
"f-person/git-blame.nvim",
|
"f-person/git-blame.nvim",
|
||||||
"dstein64/vim-startuptime",
|
"dstein64/vim-startuptime",
|
||||||
@@ -67,17 +54,20 @@ return {
|
|||||||
end,
|
end,
|
||||||
ft = { "markdown" },
|
ft = { "markdown" },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
|
main = "ibl",
|
||||||
|
---@module "ibl"
|
||||||
|
---@type ibl.config
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
-- Themes
|
-- Themes
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
"patstockwell/vim-monokai-tasty",
|
"patstockwell/vim-monokai-tasty",
|
||||||
"hiroakis/cyberspace.vim",
|
"hiroakis/cyberspace.vim",
|
||||||
"jaredgorski/spacecamp",
|
"jaredgorski/spacecamp",
|
||||||
{
|
|
||||||
"scottmckendry/cyberdream.nvim",
|
"scottmckendry/cyberdream.nvim",
|
||||||
lazy = false,
|
"samharju/synthweave.nvim",
|
||||||
priority = 1000,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Code completion / Menu
|
-- Code completion / Menu
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
@@ -102,9 +92,9 @@ return {
|
|||||||
"mhartington/formatter.nvim",
|
"mhartington/formatter.nvim",
|
||||||
{ "TamaMcGlinn/nvim-lspconfig-ada" },
|
{ "TamaMcGlinn/nvim-lspconfig-ada" },
|
||||||
"sainnhe/sonokai",
|
"sainnhe/sonokai",
|
||||||
|
"veryl-lang/veryl.vim",
|
||||||
|
|
||||||
-- Plugins to test
|
-- Plugins to test
|
||||||
"https://git.nickr.eu/yannickreiss/nvim-macrotool.git",
|
|
||||||
|
|
||||||
-- Wiki
|
-- Wiki
|
||||||
{
|
{
|
||||||
@@ -125,7 +115,12 @@ return {
|
|||||||
{ "<leader>wT", "<cmd>lua require('neowiki').open_wiki_new_tab()<cr>", desc = "Open Wiki in Tab" },
|
{ "<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
|
-- Lean
|
||||||
{
|
{
|
||||||
"Julian/lean.nvim",
|
"Julian/lean.nvim",
|
||||||
|
|||||||
@@ -3,3 +3,12 @@ vim.g.UltiSnipsJumpForwardTrigger = "<c-l>"
|
|||||||
vim.g.UltiSnipsJumpBackwardTrigger = "<c-h>"
|
vim.g.UltiSnipsJumpBackwardTrigger = "<c-h>"
|
||||||
vim.g.UltiSnipsEditSplit = "vertical"
|
vim.g.UltiSnipsEditSplit = "vertical"
|
||||||
vim.g.UltiSnipsSnippetDirectories = { "~/.config/nvim/UltiSnips" }
|
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)
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ vim.opt.relativenumber = false
|
|||||||
vim.g.mapleader = ","
|
vim.g.mapleader = ","
|
||||||
vim.cmd("set clipboard+=unnamedplus")
|
vim.cmd("set clipboard+=unnamedplus")
|
||||||
vim.cmd("autocmd! CursorHold,CursorHoldI *.md write")
|
vim.cmd("autocmd! CursorHold,CursorHoldI *.md write")
|
||||||
|
vim.cmd("autocmd! CursorHold,CursorHoldI *.hs write")
|
||||||
vim.cmd("set autoread")
|
vim.cmd("set autoread")
|
||||||
|
|
||||||
-- GUI
|
-- 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>na", ":set norelativenumber<cr>")
|
||||||
vim.keymap.set("n", "<leader>nr", ":set relativenumber<cr>")
|
vim.keymap.set("n", "<leader>nr", ":set relativenumber<cr>")
|
||||||
|
|
||||||
-- Nix mode
|
vim.filetype.add({
|
||||||
local nix_interpreter_buffer = -1
|
extension = {
|
||||||
local nix_interpreter_window = -1
|
bf = "brainfuck",
|
||||||
|
},
|
||||||
-- @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,
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,13 +1,8 @@
|
|||||||
-- vim dummy assignment for the lsp
|
|
||||||
if vim == nil then
|
|
||||||
local vim = {}
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Setup the formatter for VHDL
|
-- Setup the formatter for VHDL
|
||||||
-- Download for current platform type if not already present
|
-- Download for current platform type if not already present
|
||||||
local check_formatter = { os.execute("which ~/.local/bin/vhdlfmt") }
|
local check_formatter = { os.execute("which ~/.local/bin/vhdlfmt") }
|
||||||
if check_formatter == 1 then
|
if check_formatter == 1 then
|
||||||
-- setup the formatter here
|
-- 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")
|
os.execute("chmod +x ~/.local/bin/vhdlfmt")
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -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.
@@ -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
31
vhdl_defaults.toml
Normal 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
|
||||||
Reference in New Issue
Block a user