Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Commit a8ee461

Browse files
committed
logging
1 parent 843c4c2 commit a8ee461

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

neovim_gui/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import click
55

66
from .ui_bridge import UIBridge
7-
from neovim import attach
7+
from neovim import attach, setup_logging
88

99

1010
@click.command(context_settings=dict(allow_extra_args=True))
@@ -22,6 +22,8 @@ def main(ctx, prog, notify, listen, connect, font, profile):
2222
"""Entry point."""
2323
address = connect or listen
2424

25+
setup_logging("gtk_ui")
26+
2527
if address:
2628
import re
2729
p = re.compile(r'^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?:\:\d{1,5})?$')

0 commit comments

Comments
 (0)