This commit is contained in:
Kovid Goyal 2021-12-08 15:18:20 +05:30
commit 3d0d987984
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
3 changed files with 6 additions and 7 deletions

View file

@ -54,7 +54,7 @@
opt('pygments_style', 'default',
long_text='''
The pygments color scheme to use for syntax highlighting. See :link:`pygments
colors schemes <https://help.farbox.com/pygments.html>` for a list of schemes.
builtin styles <https://pygments.org/styles/>` for a list of schemes.
'''
)

View file

@ -3,7 +3,6 @@
from typing import TYPE_CHECKING, Optional
from kitty.constants import website_url
from kitty.options.utils import parse_marker_spec
from .base import (
@ -25,9 +24,9 @@ class CreateMarker(RemoteCommand):
short_desc = 'Create a marker that highlights specified text'
desc = (
'Create a marker which can highlight text in the specified window. For example: '
'create_marker text 1 ERROR. For full details see: {}'
).format(website_url('marks'))
'Create a marker which can highlight text in the specified window. For example:'
' :code:`create_marker text 1 ERROR`. For full details see: :doc:`marks`'
)
options_spec = MATCH_WINDOW_OPTION + '''\n
--self
type=bool-set

View file

@ -25,8 +25,8 @@ class GetColors(RemoteCommand):
short_desc = 'Get terminal colors'
desc = (
'Get the terminal colors for the specified window (defaults to active window). '
'Colors will be output to stdout in the same syntax as used for kitty.conf'
'Get the terminal colors for the specified window (defaults to active window).'
' Colors will be output to stdout in the same syntax as used for kitty.conf'
)
options_spec = '''\
--configured -c