Git Product home page Git Product logo

Comments (13)

jez avatar jez commented on June 27, 2024 1

Ah, the :SMLReplStart failed because you're not using neither Neovim nor tmux + benmills/vimux, one of which is required to use the REPL.

I haven't gotten around to supporting Vim 8 yet, because I personally use Neovim when I tried to figure out how to launch a terminal session in Vim 8, it seemed not to hang.

Hypothetically adding another REPL backend should not be too hard. If you're familiar with writing Vim plugins I'm happy to answer questions about where to start if you wanted to implement Vim 8 support.

from vim-better-sml.

jez avatar jez commented on June 27, 2024 1

from vim-better-sml.

jez avatar jez commented on June 27, 2024 1

from vim-better-sml.

jez avatar jez commented on June 27, 2024

Ha, I just implemented this a few days ago and then didn’t have time to finish it. I’ll take a look later tonight, so thanks for your patience! In the mean time you might want to checkout an older commit to use. For example:

7530bbb

Is the first commit before any of the recent changes.

from vim-better-sml.

jez avatar jez commented on June 27, 2024

Also, could you paste the output of vim --version?

from vim-better-sml.

jez avatar jez commented on June 27, 2024

I just pushed a fix for the first bug (:SMLCheckHealth should work without errors.)

I'm looking to see what's up with the type query.

from vim-better-sml.

jez avatar jez commented on June 27, 2024

As for why conceallevel isn't working, you'll want to check the output of your vim --version:

vim --version | grep conceal

If you see a + next to conceal, that means it's supported.
If you see either -conceal or no output, that means it's not supported.

Vim can be built with certain features turned on or off, so if you don't see it, you'll want to recompile / reinstall a different version of Vim for your platform.

from vim-better-sml.

jez avatar jez commented on June 27, 2024

So to recap:

If you pull the most recent version of the plugin, all the issues above should either be fixed, or else I think they're issues with your particular Vim setup.

Happy to help walk you through anything else!

from vim-better-sml.

Huxpro avatar Huxpro commented on June 27, 2024

Thx for the detailed replies! Yep, I am using vim 8 and here is the vim --version. Looks like conceal is supported tho.

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb  8 2018 23:41:19)
macOS version
Included patches: 1-1450
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +farsi             +mouse_sgr         -tag_any_white
+arabic            +file_in_path      -mouse_sysmouse    -tcl
+autocmd           +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
-balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
-browse            +fork()            -mzscheme          +textobjects
++builtin_terms    -gettext           +netbeans_intg     +timers
+byte_offset       -hangul_input      +num64             +title
+channel           +iconv             +packages          -toolbar
+cindent           +insert_expand     +path_extra        +user_commands
-clientserver      +job               +perl              +vertsplit
+clipboard         +jumplist          +persistent_undo   +virtualedit
+cmdline_compl     +keymap            +postscript        +visual
+cmdline_hist      +lambda            +printer           +visualextra
+cmdline_info      +langmap           +profile           +viminfo
+comments          +libcall           +python            +vreplace
+conceal           +linebreak         -python3           +wildignore
+cryptv            +lispindent        +quickfix          +wildmenu
+cscope            +listcmds          +reltime           +windows
+cursorbind        +localmap          +rightleft         +writebackup
+cursorshape       -lua               +ruby              -X11
+dialog_con        +menu              +scrollbind        -xfontset
+diff              +mksession         +signs             -xim
+digraphs          +modify_fname      +smartindent       -xpm
-dnd               +mouse             +startuptime       -xsmp
-ebcdic            -mouseshape        +statusline        -xterm_clipboard
+emacs_tags        +mouse_dec         -sun_workshop      -xterm_save
+eval              -mouse_gpm         +syntax
+ex_extra          -mouse_jsbterm     +tag_binary
+extra_search      +mouse_netterm     +tag_old_static

from vim-better-sml.

Huxpro avatar Huxpro commented on June 27, 2024

I was able to get concealing works by setting the conceal_level out of augroup. Not sure why.

from vim-better-sml.

Huxpro avatar Huxpro commented on June 27, 2024

I have switched to neovim and :SMLReplyBlah now works perfectly! I heard it for a while but didn't have a chance to try it ;)

from vim-better-sml.

Huxpro avatar Huxpro commented on June 27, 2024

What I care most about is actually TypeQuery.

I am new to SML ecosystem so I am not sure I understand what really is.MLB file...I was trying to read http://mlton.org/MLBasis but not quite get it.

I thought ML Basis Library is more like a standard library having been built into the compiler? But it sounds like some metafile to describe the project itself?

from vim-better-sml.

Huxpro avatar Huxpro commented on June 27, 2024

@jez Gotcha! That's very clear and helpful ;)

I'm gonna close this issue. Thx for your great works!

from vim-better-sml.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.