Giter VIP home page Giter VIP logo

visimp's Introduction

visimp

The simp counterpart of NvChad

Install

The installation of visimp requires the cloning of this code base and the creation of a simple initial configuration, possibly starting from a template.

For UNIX-like system:

git clone --depth=1 https://github.com/lucat1/visimp.git \
  "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/paks/start/visimp

For Windows:

git clone https://github.com/lucat1/visimp.git "$env:LOCALAPPDATA\nvim-data\site\pack/paks/start/visimp"

Then you can initialize a default config with the following command:

WARNING: this will delete your previous init.lua

mkdir -p "${XDG_DATA_HOME:-$HOME}"/.config/nvim
cp "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/paks/start/visimp/_init.lua \
  "${XDG_DATA_HOME:-$HOME}"/.config/nvim/init.lua

Finally, edit the init.lua file you just copied to enable your desired languages and configure any needed layer.

Configuration

You can start reading about the key ideas of visimp in the Introduction or you can jump ahead to the configuration of your client.

visimp's People

Contributors

foxyseta avatar kocierik avatar lucat1 avatar specialfish9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

visimp's Issues

doc: contributing

A shortlist to remember what to work on (doc, formatting, linting) when creating/updating layers.

Do not use `require("telescope.builtin.files").find_files`

This has been happening since I last updated the "telescope" package.
Each time I try to find a file:

[telescope.builtin]: You are using an internal interface. Do not use `require("telescope.builtin.files").find_files`, please use `require("telescope.builtin").find_files`! We
will remove this endpoint soon!

Each time I use live grep:

[telescope.builtin]: You are using an internal interface. Do not use `require("telescope.builtin.files").live_grep`, please use `require("telescope.builtin").live_grep`! We wi
ll remove this endpoint soon!

Document layers and bindings

Most layers have no documentation (and could use some well-descripted bindings, too).

The binds for the snippet layer have no description.

Terraform support

it would be nice to have support for terraform (syntax highlighting and suggestions)

Thanks!

warning

when I start vim, this warning appears

fidget.nvim will soon be rewritten. Please checkout the 'legacy' tag to avoid breaking changes.
Spawning language server with cmd: `lua-language-server` failed. The language server 
is either not installed, missing from PATH, or not executable.

:wq

Error message on :wq.

E5108: Error executing lua [string ":lua"]:1: attempt to call field 'formatting_seq_sync' (a nil value)
stack traceback:
        [string ":lua"]:1: in main chunk

Treesitter/highlighter error

Is there any fix? All the package are updated.

  • NVIM v0.6.0

If I run :checkhealth on vim, I've this particular error in this section --> lspconfig: require("lspconfig.health").check()

========================================================================

  • ERROR: sumneko_lua: The given command "/Users/kocierik/.local/share/nvim/lsp_servers/sumneko_lua/extension/server/bin/lua-language-server" is not executable.

Here you can see all the log of vim checkhealth

Screenshot 2021-12-26 at 11 15 00

cmp_nvim_lsp.update_capabilities is deprecated

On visimp startup:

cmp_nvim_lsp.update_capabilities is deprecated, use cmp_nvim_lsp.default_capabilities instead. See :h deprecated
This function will be removed in cmp-nvim-lsp version 1.0.0
stack traceback:
        ...ite/pack/paks/opt/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:68: in function 'update_capabilities'
        ...im/site/pack/paks/start/visimp/lua/visimp/layers/cmp.lua:87: in function 'preload'
        ...e/nvim/site/pack/paks/start/visimp/lua/visimp/loader.lua:101: in function 'preload'
        ...re/nvim/site/pack/paks/start/visimp/lua/visimp/setup.lua:31: in function 'next'
        ...re/nvim/site/pack/paks/start/visimp/lua/visimp/setup.lua:103: in function <...re/nvim/site/pack/paks/start/visimp/lua/visimp/setup.lua:42>
        /home/stefano/.config/nvim/init.lua:1: in main chunk

Cannot disable lspformat

Steps to reproduce:

  1. lspformat = false
  2. have no formatter in null-ls
  3. save unformatted buffer with language layer enabled

Actual behavior: file is formatted

Expected behavior: file is not formatted

:PakClean does not remove the package.

sumneko_lua is deprecated, use lua_ls instead

L.config.lsp or 'sumneko_lua',

[mason-lspconfig.nvim] installing sumneko_lua
sumneko_lua is deprecated, use lua_ls instead. See :h deprecated
This function will be removed in lspconfig version 0.2.0
stack traceback:
        ...im/site/pack/paks/start/nvim-lspconfig/lua/lspconfig.lua:36: in function '__index'
        ...im/site/pack/paks/start/visimp/lua/visimp/layers/lsp.lua:107: in function 'load'
        ...e/nvim/site/pack/paks/start/visimp/lua/visimp/loader.lua:119: in function 'load'
        ...re/nvim/site/pack/paks/start/visimp/lua/visimp/setup.lua:37: in function 'next'
        ...re/nvim/site/pack/paks/start/visimp/lua/visimp/setup.lua:104: in function <...re/nvim/site/pack/paks/start/visimp/lua/visimp/setup.lua:43>
        /home/foxy/.config/nvim/init.lua:1: in main chunk

Passiamo a lua_ls?

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.