{"id":24370313,"url":"https://github.com/vonheikemen/midnight-owl.vim","last_synced_at":"2025-07-18T03:03:05.353Z","repository":{"id":108414449,"uuid":"166752016","full_name":"VonHeikemen/midnight-owl.vim","owner":"VonHeikemen","description":"VIM color scheme based on Sarah Drasner's Night Owl VSCode theme ","archived":false,"fork":false,"pushed_at":"2019-03-21T10:47:50.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T04:23:23.047Z","etag":null,"topics":["color-scheme","vim"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VonHeikemen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-01-21T05:13:06.000Z","updated_at":"2021-12-25T18:19:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"f930135f-6795-4fb1-a6ed-bc42c7a27f12","html_url":"https://github.com/VonHeikemen/midnight-owl.vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VonHeikemen%2Fmidnight-owl.vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VonHeikemen%2Fmidnight-owl.vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VonHeikemen%2Fmidnight-owl.vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VonHeikemen%2Fmidnight-owl.vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VonHeikemen","download_url":"https://codeload.github.com/VonHeikemen/midnight-owl.vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243204078,"owners_count":20253412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-scheme","vim"],"created_at":"2025-01-19T04:24:06.566Z","updated_at":"2025-03-12T10:42:06.084Z","avatar_url":"https://github.com/VonHeikemen.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003eBased on Sarah Drasner's \u003ca href=\"https://github.com/sdras/night-owl-vscode-theme\"\u003eNight Owl\u003c/a\u003e VSCode theme\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eA theme for the night owls out there. Works well in the daytime, too, but this theme is fine-tuned for those of us who like to code late into the night.\u003c/p\u003e\n\n## Getting Started\n\n### Installation\n\n**Using** [vim-plug](https://github.com/junegunn/vim-plug)\n\n```vim\nPlug 'VonHeikemen/midnight-owl.vim'\n```\n\n### Activation\n```vim\n\" For vim \u003e 8\nif (has(\"termguicolors\"))\n set termguicolors\nendif\n\n\" For Neovim 0.1.3 and 0.1.4\nlet $NVIM_TUI_ENABLE_TRUE_COLOR=1\n\nsyntax enable\ncolorscheme midnight-owl\n```\n\n## Workarounds\n\nSome plugins don't provide enough information to make a consistent syntax hightlight, this are some workarounds that can be use in some languages.\n\n### PHP\n\n```vim\nfunction! PhpSyntaxOverride()\n  \" Tweak keywords\n  syn keyword phpLanguageVars this containedin=phpIdentifier\n  syn keyword phpLanguageVars parent self containedin=phpRegion\n  syn keyword phpFunctions isset empty\n  syn keyword phpKeyword public private protected containedin=phpType\n\n  \" New instance match\n  syn match phpClassReference /\\v(new)@\u003c=\\s+\\w*/ containedin=phpRegion\n\n  \" Function call match\n  syn match phpFunctionCall /\\v\\h\\w*\\ze(\\s?\\()/ \n    \\ containedin=phpRegion,phpIdentifier\n \n  \" highlight all types of functions\n  hi! link phpFunctionCall Function\n  hi! link phpMethod Function\n  hi! link phpFunction Function\n\n  \" highlight all class references\n  hi! link phpClasses phpClassReference\n  hi! link phpStaticClasses phpClassReference\n  hi! link phpClass phpClassReference\nendfunction\n\naugroup phpSyntaxOverride\n  autocmd!\n  autocmd FileType php call PhpSyntaxOverride()\naugroup END\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvonheikemen%2Fmidnight-owl.vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvonheikemen%2Fmidnight-owl.vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvonheikemen%2Fmidnight-owl.vim/lists"}