diff --git a/pyproject.toml b/pyproject.toml index e75539c..92f3576 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = 'systemd-language-server' -version = '0.3.4' +version = '0.3.5' description = 'Language server for systemd unit files' authors = ["Paweł Sacawa "] readme = "README.md" diff --git a/systemd_language_server/__init__.py b/systemd_language_server/__init__.py index 6ac6ba8..ed8125a 100644 --- a/systemd_language_server/__init__.py +++ b/systemd_language_server/__init__.py @@ -1,2 +1,2 @@ -__version__ = "0.3.4" +__version__ = "0.3.5" __all__ = ["__version__"] diff --git a/systemd_language_server/unit.py b/systemd_language_server/unit.py index 7a95e51..b4fbab9 100644 --- a/systemd_language_server/unit.py +++ b/systemd_language_server/unit.py @@ -158,7 +158,7 @@ def get_manual_sections(unit_type: UnitType, section: UnitFileSection | None): """Determine which docbook to search for documentation, based on unit type and file section. If no section is provided, search liberally, search liberally.""" if section in [UnitFileSection.unit, UnitFileSection.install]: - return ["systemd.{}.xml".format(section.value.lower())] + return ["systemd.unit.xml"] ret = ["systemd.{}.xml".format(unit_type.value.lower())] if section is None: ret += ["systemd.unit.xml", "systemd.install.xml"]