Add a basic language server

This commit is contained in:
James Westman 2021-10-22 21:47:05 -05:00
parent e553e5db29
commit b553fc357c
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
5 changed files with 202 additions and 7 deletions

View 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,