mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 15:21:09 +00:00
vim: Added narrow Region
Added my php snippets
This commit is contained in:
@@ -306,9 +306,9 @@ lvim.plugins = {
|
||||
config = function()
|
||||
-- TODO: Implement - custom snippets should go to user's directory. See below
|
||||
-- https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#edit_snippets
|
||||
-- require("luasnip.loaders.from_snipmate").lazy_load {
|
||||
-- paths = get_runtime_dir() .. "/site/pack/lazy/opt/vim-snippets/snippets"
|
||||
-- }
|
||||
require("luasnip.loaders.from_snipmate").lazy_load {
|
||||
paths = get_runtime_dir() .. "/site/pack/lazy/opt/vim-snippets/snippets"
|
||||
}
|
||||
end,
|
||||
dependencies = {
|
||||
"LuaSnip",
|
||||
@@ -317,6 +317,7 @@ lvim.plugins = {
|
||||
{
|
||||
"godlygeek/tabular"
|
||||
},
|
||||
{ "chrisbra/NrrwRgn" },
|
||||
{
|
||||
"kylechui/nvim-surround",
|
||||
config = function()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
||||
"LuaSnip": { "branch": "master", "commit": "c4d6298347f7707e9757351b2ee03d0c00da5c20" },
|
||||
"NrrwRgn": { "branch": "master", "commit": "e027db9d94f94947153cd7b5ac9abd04371ab2b0" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "7a6b9487dba044a43fde534bf5036f0fda5b6b23" },
|
||||
"auto-session": { "branch": "main", "commit": "3eb26b949e1b90798e84926848551046e2eb0721" },
|
||||
"bigfile.nvim": { "branch": "main", "commit": "9616b73670ffeb92679677554ded88854ae42cf8" },
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
snippet jd "json dump and die"
|
||||
echo json_encode(${1}, JSON_PRETTY_PRINT); die();${0:}
|
||||
|
||||
snippet pjd "json dump and die"
|
||||
echo '<pre>';echo json_encode(${1}, JSON_PRETTY_PRINT); echo '</pre>'; die();${0:}
|
||||
|
||||
snippet ppbt
|
||||
echo '<pre>'; debug_print_backtrace(); echo '</pre>';${0:}
|
||||
|
||||
Regular → Executable
+1
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Chromium GTK4
|
||||
|
||||
Reference in New Issue
Block a user