aboutsummaryrefslogtreecommitdiff
path: root/src/server/format.odin
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-05-22 22:45:32 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2021-05-22 22:45:32 +0200
commit3c1a47890728bf0740c9b2d718b142a46fc061e3 (patch)
tree7e17cfcbeae5891d5a6c5b46ea9edbc3225cf77b /src/server/format.odin
parentd22445e3f9152d6ca43c10cc5ac5bfad50cb52ae (diff)
prepare to have global config aswell
Diffstat (limited to 'src/server/format.odin')
-rw-r--r--src/server/format.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/format.odin b/src/server/format.odin
index d05ae19..b29669a 100644
--- a/src/server/format.odin
+++ b/src/server/format.odin
@@ -63,7 +63,7 @@ get_complete_format :: proc(document: ^Document) -> ([]TextEdit, bool) {
},
end = {
character = 1,
- line = line,
+ line = line+1,
},
},
};