Mercurial > vim_plugins > core
comparison plugin/core.vim @ 0:7bb5f650cfb7
Initial Commit
| author | Luka Sitas <lsitas@avatarasoftware.com> |
|---|---|
| date | Tue, 10 Mar 2026 20:28:16 -0400 |
| parents | |
| children | 7c5bd18befd2 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:7bb5f650cfb7 |
|---|---|
| 1 " plugin/core.vim | |
| 2 " Basic plugin entry point | |
| 3 | |
| 4 if exists('g:loaded_core') | |
| 5 finish | |
| 6 endif | |
| 7 let g:loaded_core = 1 | |
| 8 | |
| 9 " Default configuration option | |
| 10 if !exists('g:core_greeting') | |
| 11 let g:core_greeting = 'Hello from core!' | |
| 12 endif | |
| 13 | |
| 14 " Command that calls an autoloaded function | |
| 15 command! CoreGreet call core#greet() |
