equalsraf / vim-qt

An experimental Qt gui for Vim.
129 stars 14 forks source link

Spellcheck doesn't work #4

Open gBopHuk opened 7 years ago

gBopHuk commented 7 years ago

The spellcheck toggled by typing ":setlocal spell!" at the vim command-line. It works in vim and gvim but not works in vim-qt.

How to make it works?

gBopHuk commented 7 years ago
$ qvim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jul  5 2017 14:06:30)
Included patches: 1-402
Compiled by builder@localhost.localdomain
Huge version   Features included (+) or not (-):
+acl             +file_in_path    +mouse_sgr       +tag_old_static
+arabic          +find_in_path    -mouse_sysmouse  -tag_any_white
+autocmd         +float           +mouse_urxvt     -tcl
-balloon_eval    +folding         +mouse_xterm     -termguicolors
+browse          -footer          +multi_byte      +terminfo
++builtin_terms  +fork()          +multi_lang      +termresponse
+byte_offset     +gettext         -mzscheme        +textobjects
+channel         -hangul_input    +netbeans_intg   +timers
+cindent         +iconv           +num64           +title
-clientserver    +insert_expand   +packages        +toolbar
+clipboard       +job             +path_extra      +user_commands
+cmdline_compl   +jumplist        +perl            +vertsplit
+cmdline_hist    +keymap          +persistent_undo +virtualedit
+cmdline_info    +lambda          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       +python/dyn      +vreplace
+cscope          +lispindent      +python3/dyn     +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con_gui  +lua             +rightleft       +writebackup
+diff            +menu            +ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
+dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xpm
+emacs_tags      +mouseshape      +startuptime     -xsmp
+eval            +mouse_dec       +statusline      -xterm_clipboard
+ex_extra        -mouse_gpm       -sun_workshop    -xterm_save
+extra_search    -mouse_jsbterm   +syntax          
+farsi           +mouse_netterm   +tag_binary      
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "/etc/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_QT  -Iqt -I. -I. -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++    -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E   -L/usr/local/lib  -Wl,-O1 -lstdc++ -Wl,--as-needed -o qvim -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread        -lm -lnsl    -lncurses -ldl  -L/usr/lib -llua -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib64/perl5/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc    -lruby -lpthread -lrt -ldl -lcrypt -lm     

Any suggestion?

equalsraf commented 7 years ago

Not really, does it work in the console Vim?

gBopHuk commented 7 years ago

It works in the console vim and gvim but not in the vim-qt

owbear commented 7 years ago

What does :echo $VIMRUNTIME say? Does it point to the correct directory? In my installation it failed to pick up that I have my vim runtime in /usr/share/vim/vim74/

jgosmann commented 6 years ago

I have the same problem. I believe it worked with an older version of vim-qt, but I recompiled from the current git master (with Qt5 as Qt4 was giving a compile error) because I need a specific upstream patch (1678). My $VIMRUNTIME is set correctly.