From 7434003b373db71af83a55baf50b3d033db4293b Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 6 Jul 2022 09:35:03 +0100 Subject: [PATCH] update --- UltiSnips/html.snippets | 65 ++++++++++++++++++++++++++++++++++++++++ lua/init-lsp.lua | 3 +- spell/en.utf-8.add | 14 +++++++++ spell/en.utf-8.add.spl | Bin 3067 -> 3247 bytes 4 files changed, 81 insertions(+), 1 deletion(-) diff --git a/UltiSnips/html.snippets b/UltiSnips/html.snippets index 9bf3f52..6f60e5b 100644 --- a/UltiSnips/html.snippets +++ b/UltiSnips/html.snippets @@ -39,3 +39,68 @@ endsnippet snippet ftphp "" endsnippet + +snippet wp " + $0 + +endsnippet + +snippet wp/ "$0 +endsnippet + +snippet wp:spacer " + +$0 +endsnippet + +snippet wp:heading " +$3 +$0 +endsnippet + +snippet wp:comments " +
+ + +
+
+
+ + + +
+ + + +
+ + +
+ + + + +
+
+ + + + + + + + + + +
+ +endsnippet + +snippet wp:comment-form " +endsnippet diff --git a/lua/init-lsp.lua b/lua/init-lsp.lua index 1f7191d..277b68d 100644 --- a/lua/init-lsp.lua +++ b/lua/init-lsp.lua @@ -40,6 +40,7 @@ local on_attach = function(client, bufnr) local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end + local function buf_set_option(...) vim.api.nvim_buf_set_option(bufnr, ...) end @@ -154,7 +155,7 @@ local sources = { -- in project directory must -- composer require friendsofphp/php-cs-fixer -- as in https://github.com/FriendsOfPHP/PHP-CS-Fixer - -- I think os anyway - not totally sure any more + -- I think so anyway - not totally sure any more null_ls.builtins.diagnostics.phpcs.with({ condition = function(utils) return utils.root_has_file({"vendor/bin/phpcs"}) diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 86cf9f5..b02c53d 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -229,3 +229,17 @@ KAT scannability sympy numpy +UltiSnips +Complianz +cPanel +mockups +Kadence +Pexels +WebP +Autoptomize +a3 +PPH +Magento +Mohammad +CDN +Cloudfare diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 897f4ceaecddf8ed349dd152caa176b764c2c008..569e99a5c05e123586e2a8552378b1a45598e0e7 100644 GIT binary patch literal 3247 zcmY*bO^X~=6s>o=dxFMA(9O6KX@*`kMPfj7VUn4cHYCB;Lf?2FP1n~{RZn+^ z5CZ)N1PNLB2ZV^?PQ+EV3IP{cy9tQvYzBQz zc?z%2Z;Plh2sfq`MG$CJ2%*I;b*-eOhE530FoerkCJTq?uy*Tcr5>7IoEP&WSPpgH zs4ZIGgyr9siN^Oti}Wi?#4^Iseho3KeyqZ}XElU1$|nFDATmdms`x*=RgXc2HZ5zJ zxH__Mg#@X{n>ZT{Tw0?6^dfo~PT_$llSVG}0QOSs;M6Z9nrWpN5Ro%Wi+3K)AyP@) zILQkOGlfWnzfFM_$>}g6#f}d$W$qG^v}!sttU3NH;*VGtxhF}XsSvA1xofGarNBXk zzqzZXpWvOk#Li?b6dajQvU|`0E-B6{XuOaE&+%?NNn9G9zcRJMam4a65{CdW(5l$k zRseHr2WP~}gqsXJe+HchxY1t<;!>A=VIC7r?C$4~C`lx81U9kfGk>-HecOv|nvq;| zQDdJntR^W*CahdG(LjP$4HiUYA1u)J^+U*Eqd#%)>x#$g*oq}9n5%hA-k85iDO!QA zO&OhoWzSK=XPl&A|9b>f0vh?nLuj1-eVWzCPV zRssdoyqSgLCvCT<0wCqd^Q@dNrN+}EhQa>8v7bRTP!KdvKj3CcR!q^0q2hOq=(QRz zD**|+lo^&k84!nzd8~r{3<)t^g=(lkt>djALTAjoQIb|NA&$h!0%@3t1~kXn$SKnK z=_GJODOrKw$Zkc+uP~7)Txsrj@|RS3c3yF1$GXY{l9SUd=z++fmYNCvGfy@c6fcyW zXnKTx(#dsP;e>4g>7@=BNM$O^QN|A3%;`H>FR)2DmmEg=gpf>fD&!A241f>m4w3y^ z036FKj}LN)(W;`}uW7+-bLiuAvDylwNm0=ti!YBdu`Cj^;}sI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