Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .editorconfig fix accessibility issues #265

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# editorconfig.org
# https://editorconfig.org/
root = true

[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
end_of_line = lf
indent_style = tab
trim_trailing_whitespace = true

[*.{yml,yaml}]
indent_style = space
indent_size = 2
40 changes: 19 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ Language server for Odin. This project is still in early development.

## Table Of Contents

- [Installation](#installation)
- [Configuration](#Configuration)
- [Features](#features)
- [Clients](#clients)
- [Vs Code](#vs-code)
- [Sublime](#sublime)
- [Vim](#vim)
- [Neovim](#neovim)
- [Emacs](#emacs)
- [Helix](#helix)
- [Micro](#micro)
- [Installation](#installation)
- [Configuration](#Configuration)
- [Features](#features)
- [Clients](#clients)
- [Vs Code](#vs-code)
- [Sublime](#sublime)
- [Vim](#vim)
- [Neovim](#neovim)
- [Emacs](#emacs)
- [Helix](#helix)
- [Micro](#micro)

## Installation

Expand All @@ -34,11 +34,10 @@ cd ols

In order for the language server to index your files, it must know about your collections.

To do that you can either configure ols via an ``ols.json`` file (it should be located at the root of your workspace).
To do that you can either configure ols via an `ols.json` file (it should be located at the root of your workspace).

Or you can provide the configuration via your editor of choice.


Example of `ols.json`:

```json
Expand Down Expand Up @@ -87,8 +86,7 @@ Example:
{
"$schema": "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/odinfmt.schema.json",
"character_width": 80,
"tabs": true,
"tabs_width": 4
"tabs": true
}
```

Expand All @@ -110,12 +108,12 @@ Options:

Support Language server features:

- Completion
- Go to definition
- Semantic tokens(really unstable and unfinished)
- Document symbols
- Signature help
- Hover
- Completion
- Go to definition
- Semantic tokens(really unstable and unfinished)
- Document symbols
- Signature help
- Hover

## Clients

Expand Down
5 changes: 2 additions & 3 deletions odinfmt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"character_width": 80,
"tabs": true,
"tabs_width": 4
}
"tabs": true
}