Skip to content

Commit

Permalink
Use cmakelang formatter (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
regen100 authored May 1, 2022
1 parent f0cfa8b commit 1fefcb4
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 513 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ Alpha Stage, work in progress.
## Features
- [x] Builtin command completion
- [x] Documentation for commands and variables on hover
- [x] Formatting
- [x] Formatting (by [`cmake-format`](https://github.com/cheshirekow/cmake_format))

## Commands

- `cmake-language-server`: LSP server
- `python -m cmake_language_server.formatter`: CLI frontend for formatting

## Installation

Expand Down
46 changes: 40 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.6"
pygls = "^0.11"
pyparsing = "^2.4"
importlib-metadata = {version = "^4.8", python = "<3.8"}

[tool.poetry.dev-dependencies]
pytest = "^6.2"
pytest-datadir = "^1.3"
pytest-cov = "^2.11"
cmakelang = "^0.6.13"

[tool.poetry.scripts]
cmake-language-server = "cmake_language_server.server:main"
Expand Down
160 changes: 0 additions & 160 deletions src/cmake_language_server/formatter.py

This file was deleted.

70 changes: 0 additions & 70 deletions src/cmake_language_server/parser.py

This file was deleted.

Loading

0 comments on commit 1fefcb4

Please sign in to comment.