Config files for vis-editor.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sts-q 304ae74b55
update
5 months ago
themes oberon.lua: New style: DEBUGGER 6 months ago
README.md compile on debian 6 months ago
lexer-lib.lua update 5 months ago
markdown.lua update 6 months ago
minal.lua update 5 months ago
miranda.lua update, corrections, read errmess from oberon-compiler 6 months ago
oberon.lua oberon.lua: New style: DEBUGGER 6 months ago
times.lua update, corrections, read errmess from oberon-compiler 6 months ago
vis-comment.lua update 5 months ago
vis-cursors.lua Minor refactorings. 6 months ago
vis-title.lua Minor refactorings. 6 months ago
vis.txt update 5 months ago
visrc.lua update 5 months ago

README.md

Vis-editor config files.

Compile Vis on Debian

    apt install lua5.3
    apt install liblua5.3-dev
    apt install lua-lpeg

I don't need selinux and acl ?

Lua5.4 did not work for me.

Install config files.

    ln -s ~/q/vis                 ~/.config/vis

Vis on Termux

    pkg install vis
    git clone this

    mkdir   ~/.config
    ln  -s  ~/.config/vis                            ~/vis-editor

    ln  -s  /.../usr/share/vis/themes/seaclouds.lua  ~/vis-editor/seaclouds.lua
    
    vis -v               # vis v0.7 +curses +lua

Compile Vis on Termux

    git clone vis
    cd vis
    ./configure
    make
    ./vis                # <smile />
    vis -v               # vis v0.7-54-...  +curses

I was not able to get it to compile with lua and lua-lpeg, so no lua and no syntax-hightlighting for the build-from-source-version. (lualib not found)

The pkg-install-version does come with lua and lpeg support.

Install new syntax lexer file.

    ln -s ~/q/vis/<filetype>.lua  /usr/share/vis/lexers

    edit /usr/share/vis/plugins/filetype.lua
    edit ~/vis/vis-comment.lua

As it looks, lexers need a symlink, plugins and themes don't.

Filetypes for share/vis/plugins/filetype.lua

  oberon = {                                                              
                 ext = { "%.obn$", "%.ob$", "%.Mod$" }
           },                                                                      
  miranda = {                                                             
                 ext = { "%.m$" }                                                
            },                                                                      
  minal = {                                                               
                 ext = { "%.minal$", "%.rabbit$" }                                            
          },                                                                      

LICENSE

vis as a whole is licensed under the following standard ISC license:

Copyright © 2014-2022 Marc André Tanner, et al.

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Some of the files published here are copied form other vis-related sources.

Contact

Created at 2022-09-12 by sts-q