diff --git a/README.md b/README.md index 3c7a115..6ca9710 100644 --- a/README.md +++ b/README.md @@ -383,6 +383,18 @@ Credit: @axelf4 :echom test_null_list() ``` +## The libcall way +Credit: @k-takata + +Windows +```vim +:call libcallnr('kernel32.dll', 'ExitProcess', 0) +``` + +Linux +```vim +:call libcallnr('libc.so.6', 'exit', 0) + ## The canonical way Credit: @ligurio