Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
132763e0
Commit
132763e0
authored
Jun 02, 2021
by
Mark Nauwelaerts
Browse files
lscplient: also update state on document reload signal
parent
69bbb046
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/lspclientpluginview.cpp
View file @
132763e0
...
...
@@ -2334,6 +2334,7 @@ public:
if
(
doc
)
{
connect
(
doc
,
&
KTextEditor
::
Document
::
textChanged
,
this
,
&
self_type
::
onTextChanged
,
Qt
::
UniqueConnection
);
connect
(
doc
,
&
KTextEditor
::
Document
::
documentUrlChanged
,
this
,
&
self_type
::
onDocumentUrlChanged
,
Qt
::
UniqueConnection
);
connect
(
doc
,
&
KTextEditor
::
Document
::
reloaded
,
this
,
&
self_type
::
updateState
,
Qt
::
UniqueConnection
);
}
// only consider basename (full path may have been custom specified)
auto
lspServer
=
QFileInfo
(
server
->
cmdline
().
front
()).
fileName
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment