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 897f4ce..569e99a 100644 Binary files a/spell/en.utf-8.add.spl and b/spell/en.utf-8.add.spl differ