Code Monkey home page Code Monkey logo

lvim's Introduction

My LunarVim Config

Get healthy

Open nvim and enter the following:

:checkhealth

You'll probably notice you don't have support for copy/paste also that python and node haven't been setup

So let's fix that

First we'll fix copy/paste

  • On mac pbcopy should be builtin

  • On Ubuntu

    sudo apt install xsel
  • On Arch Linux

    sudo pacman -S xsel

Next we need to install python support (node is optional)

  • Neovim python support

    pip install pynvim
  • Neovim node support

    npm i -g neovim

Fonts

After moving fonts to ~/.local/share/fonts/

Run: $ fc-cache -f -v

NOTE: (If you are seeing boxes without icons, try changing this line from false to true: link)

Java Debugging and Testing

git clone [email protected]:microsoft/java-debug.git
cd java-debug/
./mvnw clean install
git clone [email protected]:microsoft/vscode-java-test.git
cd vscode-java-test
npm install
npm run build-plugin

Install latest rust-analyzer binary

$ mkdir -p ~/.local/bin
$ curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer
$ chmod +x ~/.local/bin/rust-analyzer

TODO

  • use codicons (update codicons)
  • fix border
  • darken border around cmp
  • hl groups for noice

lvim's People

Contributors

christianchiarulli avatar chrwork2 avatar smiteshp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lvim's Issues

Treesitter is compiled for a hundred languages

Can we please have the tree-sitter installed on the fly when a file of a certain langauge opened for the first time?
I'm not sure that its a good idea to precompile all that many languages on every machine.

C-i seems to be triggering harpoon can't find the keymap

Hey,
I often use C-i and C-o to navigate between the jumplist. however, it seems that C-i is triggering harpoon and when i try to find the keymap using fk i am not able to find that one for harpoon. Can you please tell me where i can find this or what's setting that map? when i try to look for the map in nmap. i am not able to find it either. Thank you so much for your time.

which-key dynamic loading of keybindings

I use the ftplugin configuration for Java. It works out of the box except for the which-key registration.
I don't get any error messages but the keybinding not loading when editing a java file.

Did I miss something?

Telescope file_ignore_patterns

In Your setup there is pattern in ignore section of Telescope that prevents grepping in files that are inside settings folder. F.ex: app/components/settings/file.js rg does not search in file.js. Found this after a while. Maybe consider changing into %.settings ?

".settings/",

Windows version

This entire setup works almost 100% okay on windows apart from 1 or 2 plugins:

The first is tabnine. In this repo, it uses .sh file to do installation.
The plugin repo have slightly different instruction for windows https://github.com/tzachar/cmp-tabnine

This is a low hanging fruit, can we have it please?

Questions about Java

Hello chris, Can you help me see why? Thank you

I downloaded yours

When I use "lvim" to edit.
I received the following error message.

Deprecation notice: [lvim.builtin.dashboard] setting is no longer supported. Use lvim.builtin.alpha instead. See LunarVim#1906
packer.nvim: Error running config for nvim-treesitter: ...er/start/nvim-treesitter/lua/nvim-treesitter/install.lua:373: Parser not available for language main
tained
Press ENTER or type command to continue

When I use lvim to open Java file, showing this, how to solve it?

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

checkhealth

hop: require("hop.health").check()

Ensuring keys are unique

  • OK: Keys are unique

Checking for deprecated features

  • OK: All good

magma: health#magma#check

requirements

  • OK: NeoVim >=0.5
  • OK: Python >=3.8
  • OK: Python package pynvim found
  • OK: Python package jupyter-client found
  • OK: Python package ueberzug found
  • OK: Python package Pillow found
  • OK: Python package cairosvg found
  • OK: Python package pnglatex found
  • OK: Python package plotly found
  • OK: Python package kaleido found

null-ls: require("null-ls.health").check()

  • INFO: no sources registered

nvim: health#nvim#check

Configuration

  • WARNING: Missing user config file: /home/punku/.config/nvim/init.vim
    • ADVICE:
      • :help |init.vim|

Performance

  • OK: Build type: Release

Remote Plugins

  • OK: Up to date

terminal

  • INFO: key_backspace (kbs) terminfo entry: key_backspace=\177
  • INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
  • INFO: $VTE_VERSION='6800'
  • INFO: $COLORTERM='truecolor'

nvim-lsp-installer: require("nvim-lsp-installer.health").check()

nvim-lsp-installer report

  • OK: neovim version >= 0.7.0
  • WARNING: Go: not available
  • OK: cargo: cargo 1.61.0
  • WARNING: luarocks: not available
  • WARNING: Ruby: not available
  • WARNING: RubyGem: not available
  • WARNING: Composer: not available
  • WARNING: PHP: not available
  • OK: npm: 8.5.5
  • OK: node: v18.3.0
  • OK: python3: Python 3.10.5
  • OK: pip3: pip 22.1.2 from /home/punku/.local/lib/python3.10/site-packages/pip (python 3.10)
  • OK: javac: javac 11
  • OK: java: openjdk version "11" 2018-09-25
  • OK: JAVA_HOME: openjdk version "11" 2018-09-25
  • WARNING: julia: not available
  • OK: wget: GNU Wget 1.21.3 built on linux-gnu.
  • OK: curl: curl 7.83.1 (x86_64-pc-linux-gnu) libcurl/7.83.1 OpenSSL/1.1.1o zlib/1.2.12 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.47.0
  • OK: gzip: gzip 1.12
  • OK: tar: tar (GNU tar) 1.34
  • OK: bash: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
  • OK: sh: Ok
  • OK: GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Mon 20 Jun 2022 12:35:16 AM CST.

nvim-treesitter: require("nvim-treesitter.health").check()

Installation

  • OK: tree-sitter found 0.20.6 (parser generator, only needed for :TSInstallFromGrammar)
  • OK: node found v18.3.0 (only needed for :TSInstallFromGrammar)
  • OK: git executable found.
  • OK: cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
    Version: cc (GCC) 12.1.0
  • OK: Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

Parser/Features H L F I J

  • cmake ✓ . ✓ . .
  • query ✓ ✓ ✓ ✓ ✓
  • c_sharp ✓ ✓ ✓ . ✓
  • typescript ✓ ✓ ✓ ✓ ✓
  • swift ✓ ✓ . . .
  • r ✓ ✓ . ✓ ✓
  • ocaml ✓ ✓ ✓ . ✓
  • json ✓ ✓ ✓ ✓ .
  • vim ✓ ✓ ✓ . ✓
  • erlang . . . . .
  • jsdoc ✓ . . . .
  • scss ✓ . . ✓ .
  • css ✓ . ✓ ✓ ✓
  • solidity ✓ . . . .
  • julia ✓ ✓ ✓ ✓ ✓
  • html ✓ ✓ ✓ ✓ ✓
  • lua ✓ ✓ ✓ ✓ ✓
  • java ✓ ✓ . ✓ ✓
  • php ✓ ✓ ✓ ✓ ✓
  • make ✓ . . . ✓
  • fish ✓ ✓ ✓ ✓ ✓

Where to use lvim.colorscheme = "darkplus"

First of all, thank you very much for your work. I like your YouTube video very much, I like your neovim theme, and I also use lunarvim, but I don't see the darkplus theme.

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.