Re-ordered commands and updated lsp settings

This commit is contained in:
itdominator 2024-09-21 01:12:55 -05:00
parent cc0117da78
commit 5d8e990c8d
3 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,7 @@ class LSPControllerWebsocket(LSPControllerBase):
if not self._start_command: return
try:
self.lsp_process = subprocess.Popen(
["pylsp", "--ws", "--port", "4114"],
self._start_command,
stdout = subprocess.PIPE,
stdin = subprocess.PIPE
)

View File

@ -87,8 +87,8 @@ class LSPMessageBox(Gtk.Box):
def start_stop_lsp(self):
parent = self.get_parent()
_command: str = parent.alt_command_entry.get_text()
# _command: str = parent.command_entry.get_text()
_command: str = parent.command_entry.get_text()
# _command: str = parent.alt_command_entry.get_text()
# _command: str = parent.socket_entry.get_text()
command: [] = _command.split() if len( _command.split() ) > 0 else [ _command ]

View File

@ -81,12 +81,12 @@ class LSPUI(Gtk.Grid):
# child, left, top, width, height
self.attach(self.link_btn, 0, 0, 3, 1)
self.attach(alt_command_lbl, 0, 1, 1, 1)
self.attach(command_lbl, 0, 2, 1, 1)
self.attach(command_lbl, 0, 1, 1, 1)
self.attach(alt_command_lbl, 0, 2, 1, 1)
self.attach(socket_lbl, 0, 3, 1, 1)
self.attach(self.alt_command_entry, 1, 1, 2, 1)
self.attach(self.command_entry, 1, 2, 2, 1)
self.attach(self.command_entry, 1, 1, 2, 1)
self.attach(self.alt_command_entry, 1, 2, 2, 1)
self.attach(self.socket_entry, 1, 3, 2, 1)
self.attach(init_options_lbl, 0, 4, 3, 1)