Title: let g:python_highlight_builtins=1 colours wrongly · Issue #66 · vim-python/python-syntax · GitHub
Open Graph Title: let g:python_highlight_builtins=1 colours wrongly · Issue #66 · vim-python/python-syntax
X Title: let g:python_highlight_builtins=1 colours wrongly · Issue #66 · vim-python/python-syntax
Description: Version: most recent commit, 6ce77d0 . Problem: Setting let g:python_highlight_builtins=1 does not result in the expected syntax colouring for built-in functions, classes or types. I selectively choose which options I want to have due to...
Open Graph Description: Version: most recent commit, 6ce77d0 . Problem: Setting let g:python_highlight_builtins=1 does not result in the expected syntax colouring for built-in functions, classes or types. I selectively ch...
X Description: Version: most recent commit, 6ce77d0 . Problem: Setting let g:python_highlight_builtins=1 does not result in the expected syntax colouring for built-in functions, classes or types. I selectively ch...
Opengraph URL: https://github.com/vim-python/python-syntax/issues/66
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"let g:python_highlight_builtins=1 colours wrongly","articleBody":"**Version:** most recent commit, https://github.com/vim-python/python-syntax/commit/6ce77d0013690b8b44a8d088ba4b54ba549ae98e .\r\n\r\n**Problem:** Setting `let g:python_highlight_builtins=1` does not result in the expected syntax colouring for built-in functions, classes or types.\r\n\r\nI selectively choose which options I want to have due to rendering limitations of `gnome-vim`, please see the options defined in my `.vimrc` (take note of the options that are commented):\r\n\r\n```\r\nlet g:python_highlight_builtins = 1\r\nlet g:python_highlight_exceptions = 1\r\nlet g:python_highlight_func_calls = 1\r\nlet g:python_highlight_class_vars = 1\r\n\" let g:python_highlight_string_formatting = 1\r\n\" let g:python_highlight_string_format = 1\r\n\" let g:python_highlight_string_templates = 1\r\n\" let g:python_highlight_indent_errors = 1\r\n\" let g:python_highlight_space_errors = 1\r\n\" let g:python_highlight_doctests = 1\r\n\" let g:python_highlight_operators = 1\r\n```\r\nThis is what I get - built-in types and functions take the same colour as normal functions, whereas built-in types are not coloured.\r\n\r\n\r\nI had a look at the source and found the culprit. Currently working on a PR.","author":{"url":"https://github.com/snejus","@type":"Person","name":"snejus"},"datePublished":"2020-04-07T20:31:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/66/python-syntax/issues/66"}
| 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:a082d93d-5040-5453-b82c-f028471880a7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEAC:2736BD:26E36BB:350843E:697095CC |
| html-safe-nonce | ac9a978230311ce07b8a0e37abc2c649e7ac60f955e16ab42860697646dfddb1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUFDOjI3MzZCRDoyNkUzNkJCOjM1MDg0M0U6Njk3MDk1Q0MiLCJ2aXNpdG9yX2lkIjoiNTcwNzQ0MTM0MTYyNTY5NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d997d1ef6892a654693511dd855e1f179de24cfdb278daa672afd529125f7567 |
| hovercard-subject-tag | issue:596133774 |
| 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/vim-python/python-syntax/66/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c74a79e7094959227181e623c206948c84cd67169dfe0f8313b5fb7585a5f5fc/vim-python/python-syntax/issues/66 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c74a79e7094959227181e623c206948c84cd67169dfe0f8313b5fb7585a5f5fc/vim-python/python-syntax/issues/66 |
| og:image:alt | Version: most recent commit, 6ce77d0 . Problem: Setting let g:python_highlight_builtins=1 does not result in the expected syntax colouring for built-in functions, classes or types. I selectively ch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | snejus |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/vim-python/python-syntax git https://github.com/vim-python/python-syntax.git |
| octolytics-dimension-user_id | 25825542 |
| octolytics-dimension-user_login | vim-python |
| octolytics-dimension-repository_id | 82203847 |
| octolytics-dimension-repository_nwo | vim-python/python-syntax |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82203847 |
| octolytics-dimension-repository_network_root_nwo | vim-python/python-syntax |
| 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 | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width