Compare commits

..

No commits in common. "d42f1f53e85e6a575841a3d26c40dcb822b79df3" and "1d7c562add366db17e3e8bf15c5017c0d0d42358" have entirely different histories.

8 changed files with 30 additions and 32 deletions

View File

@ -38,8 +38,8 @@ for parameter in parameters:
paramless = parameter.replace("\t", "")
snip.rv += f"-- @variable {paramless}\n"
`-- @description $5
function ${1:Name}${2:a, b: Integer}`!p if (t[2] != "" and not t[2].startswith("(")):
t[2] = f"({t[2]})"` return ${3:Integer} is
function ${1:Name}($2`!p if (t[2] == ""):
t[2] = "a, b: Integer"`) return ${3:Integer} is
$4
begin
$7

View File

@ -46,8 +46,7 @@ if t[7] != "":
else:
snip.rv = ""`
year={${8:2023}},
doi = {${9:DOI_NUM}}
publisher = {${10:Verlag}}
publisher={${9:Verlag}}
}
$0
endsnippet

View File

@ -75,14 +75,3 @@ endsnippet
snippet println "println" A
println!("$1");$0
endsnippet
snippet docstring "Document head" b
/*
* Filename: `!p snip.rv = fn`
* Author: ${1:Yannick Reiss}
* Project: ${2:Project Name}
* Copyright: ${3:None} => You • 9 months ago • Move of Snippets into repository
* Description: ${4:Funny module}
*
*/$0
endsnippet

View File

@ -484,6 +484,6 @@ else:
$0
endsnippet
snippet cc "Cite" iA
snippet cc "Cite" A
\\cite{$1}$0
endsnippet

View File

@ -1,5 +0,0 @@
snippet tg "automated tag insertion" b
<${1:tag}>
$2
</${1/(\w+).*/$1/}>$0
endsnippet

View File

@ -132,3 +132,19 @@ cmp.setup.cmdline(":", {
},
})
-- Tabnine configuration
local tabnine = require("cmp_tabnine.config")
tabnine:setup({
max_lines = 1000,
max_num_results = 10,
sort = true,
run_on_every_keystroke = true,
snippet_placeholder = "..",
ignored_file_types = {
-- default is not to ignore
-- uncomment to ignore in lua:
-- lua = true
},
show_prediction_strength = true,
min_percent = 40,
})

View File

@ -89,7 +89,7 @@ require("lspconfig").verible.setup({
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 tokyonight-moon")
-- Formatter configuration
vim.cmd([[

View File

@ -64,12 +64,11 @@ return {
"mihaifm/bufstop",
"https://git.nickr.eu/yannickreiss/nvim-sourcer.git",
{ "tzachar/cmp-fuzzy-buffer", requires = { "hrsh7th/nvim-cmp", "tzachar/fuzzy.nvim" } },
{
"tzachar/cmp-tabnine",
build = "./install.sh",
dependencies = "hrsh7th/nvim-cmp",
},
"jaredgorski/spacecamp",
"voldikss/vim-floaterm",
{
"jakobkhansen/journal.nvim",
config = function()
require("journal").setup()
end,
},
}