Re: Dutyl 1.5.0 released - dfmt support added

2018-06-29 Thread Timoses via Digitalmars-d-announce

On Sunday, 24 June 2018 at 15:40:31 UTC, Timoses wrote:

On Wednesday, 20 June 2018 at 19:08:49 UTC, Timoses wrote:

Timoses  wrote:

Any ideas why autocompletion doesn't?


How does it work??


It's ctrl-x ctrl-o. More info in
:help omnifunc


Re: Dutyl 1.5.0 released - dfmt support added

2018-06-24 Thread Timoses via Digitalmars-d-announce

On Wednesday, 20 June 2018 at 19:08:49 UTC, Timoses wrote:

Timoses  wrote:

Any ideas why autocompletion doesn't?



Opps. I suppose One should use vim's autocomplete feature : D 
(i_CTRL-P)


Hm, this doesn't seem to use the autocomplete feature.

I've set it up so far that I can use `:DUjump` on for example 
std.algorithm and it'll jump right to the algorithm file. NICE!


But, how to use the autocompletion feature?

E.g. typing

levensh

and trying i_CTRL-P does not resolve to anything...

How does it work??


Re: Dutyl 1.5.0 released - dfmt support added

2018-06-20 Thread Timoses via Digitalmars-d-announce
Timoses  wrote:
> Any ideas why autocompletion doesn't?
> 

Opps. I suppose One should use vim's autocomplete feature : D (i_CTRL-P)




Re: Dutyl 1.5.0 released - dfmt support added

2018-06-20 Thread Timoses via Digitalmars-d-announce

On Wednesday, 20 June 2018 at 16:12:39 UTC, Timoses wrote:


However, it doesn't seem to show any autocompletions.. Anything 
else I am missing?



:DUjump

works within the file I'm editing..

Any ideas why autocompletion doesn't?


Re: Dutyl 1.5.0 released - dfmt support added

2018-06-20 Thread Timoses via Digitalmars-d-announce

On Thursday, 23 April 2015 at 18:50:54 UTC, Idan Arye wrote:

GitHub repo: https://github.com/idanarye/vim-dutyl
vim.org page: 
http://www.vim.org/scripts/script.php?script_id=5003


Now Dutyl can use dfmt to indent and/or format D code. 
Formatting and indentation is done using Vim's regular 
operators(gq and =).


Hey, glad to have found Dutyl, it sounds promising.

However, it doesn't seem to be doing anything..

I made sure I installed DCD (via `brew install dcd`, so dcd is in 
PATH) and to run


:let g:dutyl_stdImportPaths=['/Library/D/dmd/src']

(MacOS system)

and

:DUDCDstartServer

from within vim.


There's a bunch of other stuff in that directory aside from the 
header files:

---

/Library/D/dmd/src>ls *
VERSION

dmd:
access.d   dmangle.d  intrange.h 
scanmach.d
aggregate.ddmodule.d  irstate.d  
scanmscoff.d

aggregate.hdmsc.d irstate.h  scanomf.d
aliasthis.ddoc.d  json.d scope.h
aliasthis.hdscope.d   json.h 
sideeffect.d
apply.ddstruct.d  lexer.d
statement.d
argtypes.d dsymbol.d  lib.d  
statement.h
arrayop.d  dsymbol.h  libelf.d   
statementsem.d
arraytypes.d   dtemplate.dlibmach.d  
staticassert.d
arraytypes.h   dversion.d libmscoff.d
staticassert.h

attrib.d   e2ir.c libomf.d   target.d
attrib.h   eh.c   link.d target.h
backendentity.d   mars.d 
template.h

backendlicense.txt enum.h mars.h tk
boostlicense.txt   errors.d   module.h   tk.c
builtin.d  errors.h   mtype.dtocsym.d
canthrow.d escape.d   mtype.htoctype.d
checkwhitespace.d  expression.d   nogc.d 
tocvdebug.c

clone.dexpression.h   nspace.d   todt.d
complex.d  func.d nspace.h   
toelfdebug.d

complex_t.hglobals.d  objc.d toir.d
cond.d globals.h  objc.h toir.h
cond.h glue.d objc_glue.ctokens.d
constfold.dgluelayer.dobjc_glue_stubs.c  tokens.h
cppmangle.dhdrgen.d   objc_stubs.d   toobj.c
ctfe.h hdrgen.h   opover.d   traits.d
ctfeexpr.d iasm.c optimize.d typinf.d
dcast.didentifier.d   osmodel.makutf.d
dclass.d   identifier.h   parse.dutils.d
declaration.d  idgen.dposix.mak  vcbuild
declaration.h  impcnvtab.dproject.ddoc   version.h
delegatize.d   imphint.d  readme.txt visitor.d
denum.dimport.h   root   visitor.h
dimport.d  init.d s2ir.c win32.mak
dinifile.d init.h safe.d win64.mak
dinterpret.d   inline.d   sapply.d
dmacro.d   intrange.d scanelf.d

druntime:
CONTRIBUTING.md changelog.ddimport  project.ddoc
win64.mak

LICENSE circle.yml  mak src
README.md   circleci.sh osmodel.mak test
benchmark   def posix.mak   win32.mak

phobos:
CONTRIBUTING.md changelog.ddetc posix.mak   
unittest.d
LICENSE_1_0.txt circle.yml  index.d project.ddoc
win32.mak
README.md   circleci.sh osmodel.mak std 
win64.mak


---


However, it doesn't seem to show any autocompletions.. Anything 
else I am missing?


Dutyl 1.5.0 released - dfmt support added

2015-04-23 Thread Idan Arye via Digitalmars-d-announce

GitHub repo: https://github.com/idanarye/vim-dutyl
vim.org page: http://www.vim.org/scripts/script.php?script_id=5003

Now Dutyl can use dfmt to indent and/or format D code. Formatting 
and indentation is done using Vim's regular operators(gq and =).