Commit graph

114 commits

Author SHA1 Message Date
Siddhant Goel
089ea2ca19 Replace usage of reserved async keyword 2018-08-09 19:46:03 +03:00
zah
d1c7e21661
Merge pull request #88 from magnostherobot/mtr/nopythonexit
Check for python support before queuing autocmd
2018-08-03 18:17:15 +03:00
Tom Harley
1da465eedf Check for python support before queuing autocmd
Versions of Vim compiled without python support will error when attempting
to run `:py nimTerminateAll()`, a autocommand for the `VimLeavePre` event.
A simple check for python support prevents this.
2018-07-31 16:37:35 +01:00
zah
704dd5d63c
Merge pull request #86 from magnostherobot/mtr/listfullpaths
Include --listfullpaths in makeprg
2018-05-20 21:34:26 +03:00
Tom Harley
dfe55309a4 Include --listfullpaths in makeprg
Before this change, running `:make` on a file with errors when not
in the same directory as the file would open a buffer in the cwd.
This change fixes this: the compiler outputs the full path to the
file, so a buffer is always opened for the correct file.

`--listfullpaths` was used instead of `--listFullPaths` to be
consistent with `autoload/nim.vim`.
2018-05-20 16:57:12 +01:00
zah
bdc19809d2
Merge pull request #84 from erw7/fix-numerical-syntax2
Fix numerical syntax
2018-02-27 18:13:04 +02:00
erw7
e3806c600c Fix numerical syntax
Fix an issue that is not highlighted when floating point suffix is
omitted in cases like 1exp+10.
2018-02-17 17:11:41 +09:00
zah
88b1a88667
Merge pull request #81 from erw7/improve-numrical-syntax
Change regular expression to more readable
2018-02-10 12:42:51 +02:00
zah
124697270e
Merge pull request #82 from erw7/fix-completion
Fix completion
2018-02-10 12:19:04 +02:00
erw7
28c74af3a2 Fix completion
* Fix position where the completion starts.
* Change to remove filename from word.
* Change to filter completions.
2018-02-10 12:24:35 +09:00
erw7
c6c230b6fc Change regular expression to more readable 2018-02-10 12:20:46 +09:00
zah
f1d99dd8bd
Merge pull request #80 from erw7/fix-numerical-syntax
Fix numerical syntax
2018-02-06 15:11:02 +02:00
erw7
43de5bb9a1 Fix numerical syntax 2018-02-03 18:34:25 +09:00
Zahary Karadjov
8167c50bd4 Add vtref and vtptr as keyworkds 2017-11-29 17:35:56 +02:00
zah
ae63bd2121
Merge pull request #72 from timakro/master
No error when missing python, main features work
2017-10-31 16:21:27 +02:00
Tim Schumacher
46b74a4c75
No error when missing python, main features work 2017-10-30 20:11:33 +01:00
zah
cf2464f819 Merge pull request #68 from unclechu/patch-3
added `echo` keyword
2017-10-08 22:43:04 +03:00
zah
921b6996cc Merge pull request #70 from unclechu/patch-5
added keywords `chr` and `varargs`
2017-10-07 21:02:19 +03:00
zah
08815fe8e1 Merge branch 'master' into patch-3 2017-10-07 21:01:50 +03:00
zah
c297467dde Merge pull request #69 from unclechu/patch-4
more lower-case builtin keywords
2017-10-07 21:00:30 +03:00
Viacheslav Lotsmanov
1b094305a9 added keywords chr and varargs
also `openArray` with uppercase
2017-10-07 22:16:49 +05:00
Viacheslav Lotsmanov
df3c0ad89e more lower-case builtin keywords 2017-10-07 22:08:41 +05:00
Viacheslav Lotsmanov
01f1f1e9ee added echo keyword 2017-10-07 21:51:48 +05:00
zah
3569f68bc9 Merge pull request #67 from unclechu/patch-2
added `void` type keyword
2017-10-07 15:53:04 +03:00
zah
3db9fd6077 Merge pull request #66 from unclechu/patch-1
added `writeLine` keyword
2017-10-07 15:52:33 +03:00
Viacheslav Lotsmanov
22acd370fa added void type keyword 2017-10-07 13:16:38 +05:00
Viacheslav Lotsmanov
bb4f890a15 added writeLine keyword
`writeLn` is deprecated now
2017-10-07 03:28:37 +05:00
zah
b531222c20 Merge pull request #65 from nve3pd/master
corresponded to python3
2017-10-02 17:13:45 +03:00
nve3pd
2b841ff6f2 corresponded to python3 2017-09-28 21:30:32 +09:00
zah
1415361e3a Merge pull request #64 from superfunc/master
Fix markdown formatting
2017-07-25 19:18:44 +03:00
superfunc
43c802b360 Fix markdown formatting 2017-07-23 09:05:18 -07:00
Zahary Karadjov
dcf25798f4 merge various improvements from https://github.com/Angluca
* recognize NimScript files
* automatically set up tab width in Nim buffers
* remove the NimLog in the python module, which is just a debugging aid
2016-05-19 19:50:46 +03:00
zah
7adbb71442 Merge pull request #50 from rogercloud/master
add windows support when creating nim-log.txt
2016-05-19 19:40:20 +03:00
Zahary Karadjov
10018be367 remove some obsolete system procs 2016-05-19 19:39:06 +03:00
zah
bb7ee4d969 Merge pull request #46 from Perelandric/writeln_to_writeLine
Highlights new names from recent renamings
2016-05-19 19:36:59 +03:00
zah
d72da053ce Merge pull request #42 from rhysd/highlight-result
Added highlight for special variable 'result'
2016-05-19 19:36:21 +03:00
zah
711facd988 Merge pull request #31 from miyakogi/support_neocomplete
Add default configuration for neocomplete
2016-05-19 19:35:31 +03:00
Zahary Karadjov
55eaae0bb0 add a license 2016-05-19 19:32:27 +03:00
Zahary Karadjov
1f62902041 proper indentation for concept definitions 2016-05-19 19:27:38 +03:00
zah
01b2ac58df Merge pull request #47 from FedericoCeratto/patch-2
Update Nim name and website
2016-05-19 19:24:05 +03:00
zah
d5c75dd6ff Merge pull request #53 from Tyler-Anderson/patch-1
changing nimrod to nim
2016-05-19 19:23:24 +03:00
zah
3f73ac346b Merge pull request #54 from def-/master
Update keywords and add new comment syntax
2016-05-19 19:22:27 +03:00
def
91673015d4 Update keywords and add new comment syntax 2016-01-29 00:09:15 +01:00
Tyler Anderson
5edd68793a changing nimrod to nim
changing nimrod to nim in readme to update the info to the current language name of nim as well as the current nim.vim name.
2015-12-27 23:55:28 -08:00
Roger Shi
89f0a10aa3 add windows support when creating nim-log.txt 2015-08-24 15:50:07 +08:00
Federico Ceratto
2edab5cbc4 Update Nim name and website 2015-07-04 22:11:46 +01:00
patrick dw
36fbc8a251 Highlights new names from recent renamings 2015-06-20 12:12:14 -05:00
rhysd
db7f06b431 Add highlight for special variable 'result' 2015-05-23 17:52:11 +09:00
Zahary Karadjov
597cca20eb Force the Nim compiler to output full paths
This fixes calling "nim check" from a directory
outside of the project tree
2015-05-10 21:01:09 +03:00
miyakogi
45b0bf9c1b Add default configuration for neocomplete 2015-01-24 16:42:25 +09:00