Skip to content

Commit be59a2d

Browse files
authored
refactor: replace lsp_utils API decorators with ones from LSP (#161)
1 parent ad1d4d8 commit be59a2d

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

LSP-intelephense.sublime-settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schemes": ["file", "buffer"],
33
"auto_complete_selector": "punctuation.accessor | punctuation.definition.variable | punctuation.separator.namespace | punctuation.definition.tag.begin",
4-
"initializationOptions": {
4+
"initialization_options": {
55
"clearCache": false,
66
// "storagePath": "${temp_dir}/intelephense",
77
// "globalStoragePath": "${home}/.intelephense",

plugin/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
import jmespath
99
import sublime
10-
from LSP.plugin import ClientConfig, DottedDict
11-
from lsp_utils import NpmClientHandler, notification_handler
10+
from LSP.plugin import ClientConfig, DottedDict, notification_handler
11+
from lsp_utils import NpmClientHandler
1212
from sublime_lib import ActivityIndicator
1313
from typing_extensions import override
1414

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[project]
2-
name = "LSP-Intelephense"
2+
name = "lsp-intelephense"
33
version = "0.0.0"
44
description = "PHP support for Sublime's LSP plugin provided through intelephense."
55
readme = "README.md"
66
requires-python = ">=3.8"
77
dependencies = [
8-
"Jinja2==3.*",
8+
"jinja2==3.*",
99
"jmespath>=1,<2",
1010
"more-itertools>=10,<11",
1111
"typing-extensions>=4.12",

sublime-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"definitions": {
1111
"PluginConfig": {
1212
"properties": {
13-
"initializationOptions": {
13+
"initialization_options": {
1414
"additionalProperties": false,
1515
"properties": {
1616
"clearCache": {

0 commit comments

Comments
 (0)