mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
Add a basic language server
This commit is contained in:
parent
e553e5db29
commit
b553fc357c
5 changed files with 202 additions and 7 deletions
25
gtkblueprinttool/lsp_enums.py
Normal file
25
gtkblueprinttool/lsp_enums.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# lsp_enums.py
|
||||
#
|
||||
# Copyright 2021 James Westman <james@jwestman.net>
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as
|
||||
# published by the Free Software Foundation; either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This file is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
from enum import Enum
|
||||
|
||||
class TextDocumentSyncKind(Enum):
|
||||
None_ = 0,
|
||||
Full = 1,
|
||||
Incremental = 2,
|
Loading…
Add table
Add a link
Reference in a new issue