Table of Contents

vimspector

my php default config

{
  "configurations": {
    "Listen for XDebug": {
      "adapter": "vscode-php-debug",
      "filetypes": [ "php" ], // optional
      "configuration": {
        "name": "Listen for XDebug",
        "type": "php",
        "request": "launch",
        "port": 9003,
        "stopOnEntry": false,
        "pathMappings": {
          "/var/www/html": "${workspaceRoot}"
        }
      },
      "breakpoints": {
        "exception": {
          "Info": "N",
          "Notice": "N",
          "Warning": "N",
          "Exception": "N",
          "Error": "N",
          "*": "N"
        }
      }
    }
  }
}

replace pattern after string

:s/\(|\s.*\)\@<=\s/\&#8201;/g

folding

commands

via https://gist.github.com/lestoni/8c74da455cce3d36eb68

Neovim docs

https://stackoverflow.com/questions/61795798/recalculating-folds-in-vim-without-applying-foldlevel#comment111082546_61795798