Git Product home page Git Product logo

nv's Introduction

Nv

A Neovim setup based on LazyVim

๐Ÿš€ Getting Started

  1. Install [Neovim] version 0.8 or higher on your machine
  2. Remove or backup your existing configuration files in ~/.config/nvim
  3. Clone the git repo git clone https://github.com/appelgriebsch/Nv ~/.config/nvim
  4. Run nvim from a terminal
  5. Use the LazyExtras option from within Neovim to enable optional plugins

Show case

Dashboard

imagem

Telescope

imagem

Code editor

imagem

Sidebar

imagem

Rust extension

imagem

imagem

Debug Adapter support

imagem

imagem

Test support

imagem

imagem

Coverage support

tbd

nv's People

Contributors

appelgriebsch avatar escwxyz 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

nv's Issues

Rust tools not configured properly

I have a pretty similar rust config to yours for rust (thank you for the inspiration btw!), and after several days did I only realize a potential issue..the cargo command was not clippy and it's due to the rust-tools setup call. rust-tools' lsp options are in the "server" key of the opts table, but yours is just passing the table as is.

The change should be as follows:

require("rust-tools").setup(rust_tools_opts)
-- to
require("rust-tools").setup({ server = rust_tools_opts })

Although if you already have rust-tools running clippy, that'd be interesting as without the server key set it would not run clippy for me.

Issues debugging Java Tests

Hi! Amazing setup, thanks for sharing!

I've been recently experiencing issues with the last version of the java-debug-adapter (0.52.0).
(defined here in your config)

In order to be able to continue debugging the Java Test, I've had to downgrade from 0.52.0 to 0.51.0
This caused me some issues with mason-nvim-dap.nvim, as you can see in my issue. I'm propose a hotfix in the same issue.

It would be great to know if you are experiencing the same problem with the version 0.52.0

Thanks!

Nv in the Lazyman Neovim Configuration Manager

I've created a Neovim Configuration Manager that supports easy installation and initialization of multiple Neovim configurations using the NVIM_APPNAME environment variable in Neovim 0.9. I call it Lazyman and include support for Nv.

See https://github.com/doctorfree/nvim-lazyman for info on Lazyman.

I'm contacting the maintainers of the Lazyman supported Neovim configurations to seek any feedback on the description, installation, and initialization of their config in Lazyman. Please feel free to let me know what I'm doing wrong or how I could improve the incorporation of Nv in Lazyman. If you feel there is a need to modify the way Nv is used in Lazyman then open an issue at https://github.com/doctorfree/nvim-lazyman/issues

This isn't really an issue with Nv, it is a request for feedback on another project, so you may simply wish to close this issue.

Nv is very cool. Thanks!

NV_THEME Variable Usage (Not an issue)

Hi, Amazing setup and I have been following and trying to use your setup to understand Neovim and how it works. I have been using it as a guide to setup my own.

I do have a question as new user to Neovim, I am a bit stumped on how to use the NV_THEME Variable used for the colorscheme, where to I set this variable? Would you be kind as to provide some guidance on how this done?

Thank you for your time.
Keep up the amazing work.

rust type prompts are not displayed

Hi author, I saw the following image in your introduction image, rust has a type hints, but I used your configuration without a type hints.
I have used neovim9 and 10 in ubuntu without rust type hints

Snipaste_2023-09-13_23-40-27

The diagram below is the result of my own configuration
Snipaste_2023-09-13_23-43-46

Test

A simple test issue created via Octo.nvim

[Rust] Incorrect LSP configuration

I had copied the Rust code from this repo & was debugging some issue when I realised that the LSP isn't being configured correctly.

This is the problematic part of the code (https://github.com/appelgriebsch/Nv/blob/main/lua/plugins/extras/lang/rust.lua#L62-L91):

          local rust_tools_opts = vim.tbl_deep_extend("force", opts, {
            tools = {
              hover_actions = {
                auto_focus = false,
                border = "none",
              },
              inlay_hints = {
                auto = false,
                show_parameter_hints = true,
              },
            },
            server = {
              settings = {
                ["rust-analyzer"] = {
                  cargo = {
                    features = "all",
                  },
                  -- Add clippy lints for Rust.
                  checkOnSave = true,
                  check = {
                    command = "clippy",
                    features = "all",
                  },
                  procMacro = {
                    enable = true,
                  },
                }
              }
            }
          })

This is how it should be:

          local rust_tools_opts = {
            tools = {
              hover_actions = {
                auto_focus = false,
                border = "none",
              },
              inlay_hints = {
                auto = false,
                show_parameter_hints = true,
              },
            },
            server = vim.tbl_deep_extend("force", opts, {
              settings = {
                ["rust-analyzer"] = {
                  cargo = {
                    features = "all",
                  },
                  -- Add clippy lints for Rust.
                  checkOnSave = true,
                  check = {
                    command = "clippy",
                    features = "all",
                  },
                  procMacro = {
                    enable = true,
                  },
                }
              }
            })
          }

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.