Include oil
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
This commit is contained in:
@@ -138,7 +138,7 @@ for variable in variables:
|
|||||||
if not variable == "" and not variable.startswith("typ") and not variable.startswith("--"):
|
if not variable == "" and not variable.startswith("typ") and not variable.startswith("--"):
|
||||||
variableless = variable.replace("\t", "").replace (" ", "")
|
variableless = variable.replace("\t", "").replace (" ", "")
|
||||||
snip.rv += f"\t-- @variable {variableless}\n"
|
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
|
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
|
$4
|
||||||
begin
|
begin
|
||||||
@@ -185,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
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ require("oil").setup({
|
|||||||
-- Send deleted files to the trash instead of permanently deleting them (:help oil-trash)
|
-- Send deleted files to the trash instead of permanently deleting them (:help oil-trash)
|
||||||
delete_to_trash = false,
|
delete_to_trash = false,
|
||||||
-- Skip the confirmation popup for simple operations (:help oil.skip_confirm_for_simple_edits)
|
-- Skip the confirmation popup for simple operations (:help oil.skip_confirm_for_simple_edits)
|
||||||
skip_confirm_for_simple_edits = false,
|
skip_confirm_for_simple_edits = true,
|
||||||
-- Selecting a new/moved/renamed file or directory will prompt you to save changes first
|
-- Selecting a new/moved/renamed file or directory will prompt you to save changes first
|
||||||
-- (:help prompt_save_on_select_new_entry)
|
-- (:help prompt_save_on_select_new_entry)
|
||||||
prompt_save_on_select_new_entry = true,
|
prompt_save_on_select_new_entry = true,
|
||||||
|
|||||||
@@ -59,4 +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")
|
||||||
|
|||||||
Reference in New Issue
Block a user