Title: Smarter lazy-loading. · Issue #11 · bdauria/angular-cli.vim · GitHub
Open Graph Title: Smarter lazy-loading. · Issue #11 · bdauria/angular-cli.vim
X Title: Smarter lazy-loading. · Issue #11 · bdauria/angular-cli.vim
Description: Hey @bdauria , I just opened a pull request regarding the K command. During the creation of the pull request I noticed some inconsistency: While I set the keyword prg option locally, the commands are provided globally. And we reinitialis...
Open Graph Description: Hey @bdauria , I just opened a pull request regarding the K command. During the creation of the pull request I noticed some inconsistency: While I set the keyword prg option locally, the commands a...
X Description: Hey @bdauria , I just opened a pull request regarding the K command. During the creation of the pull request I noticed some inconsistency: While I set the keyword prg option locally, the commands a...
Opengraph URL: https://github.com/bdauria/angular-cli.vim/issues/11
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Smarter lazy-loading.","articleBody":"Hey @bdauria ,\r\n\r\nI just opened a pull request regarding the `K` command.\r\nDuring the creation of the pull request I noticed some inconsistency:\r\n\r\nWhile I set the keyword prg option locally, the commands are provided globally.\r\nAnd we reinitialise them even if they were already initialised. Depending on how the `angular_cli#init()` method is called, that may produces unnecessary overhead.\r\n\r\nNow there are two possible solutions:\r\n\r\n1. Include `-buffer` in all command declarations. That means that the commands are loaded once again for each buffer, but at least.only for the specific buffer, so that they do not clutter global namespace.\r\n\r\n2. Inside `angular_cli#init()`: check if global initialisation has already been done, e.g. by `g:angular_cli_did_init`. Then, the commands are only initialised once and globally.\r\n\r\nWhat would be your preferred solution?\r\n\r\nBest,\r\nLukas","author":{"url":"https://github.com/lgalke","@type":"Person","name":"lgalke"},"datePublished":"2017-04-11T16:57:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/11/angular-cli.vim/issues/11"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ad2283cd-eeca-243f-9b29-0804bc48b60e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E64E:1775E7:6FFBD1D:9871011:6A5E39E9 |
| html-safe-nonce | fcde73630f919fa559d8f468310e74af0dcb8ab71687a9c0f2eeadce06f2ec31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjRFOjE3NzVFNzo2RkZCRDFEOjk4NzEwMTE6NkE1RTM5RTkiLCJ2aXNpdG9yX2lkIjoiNDc2MDg0Mjk2MzAyMjM5NTg4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 93a6f3a48eae2a0cd98488517fa68335e0f328bfa96748ca6abf5226b965625e |
| hovercard-subject-tag | issue:221016538 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bdauria/angular-cli.vim/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b2cfb068a980c4658ef7edcf541ad7a41a22c77488d10267a25896dcd734ff08/bdauria/angular-cli.vim/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b2cfb068a980c4658ef7edcf541ad7a41a22c77488d10267a25896dcd734ff08/bdauria/angular-cli.vim/issues/11 |
| og:image:alt | Hey @bdauria , I just opened a pull request regarding the K command. During the creation of the pull request I noticed some inconsistency: While I set the keyword prg option locally, the commands a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lgalke |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4b946991e2bd4b122ac7bb3d405be22af15feed82daaafcd1fe0a1231d54061 |
| turbo-cache-control | no-preview |
| go-import | github.com/bdauria/angular-cli.vim git https://github.com/bdauria/angular-cli.vim.git |
| octolytics-dimension-user_id | 8367233 |
| octolytics-dimension-user_login | bdauria |
| octolytics-dimension-repository_id | 65048809 |
| octolytics-dimension-repository_nwo | bdauria/angular-cli.vim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65048809 |
| octolytics-dimension-repository_network_root_nwo | bdauria/angular-cli.vim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a421a3a9fbeebe1ed5ba7c8e5b803b098d65a30e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width