Giter VIP home page Giter VIP logo

nii-nvim's Introduction

This project is unmaintained

I have no desire to continue work on this project. People who wish to maintain this project, please reach out to me.
















nii-nvim:
a no-nonsense neovim configuration

img

Lua Repo_Size

Nii-nvim is a very minimal neovim configuration focused on creating a functional editor with a minimal amount of code. Nii-nvim also keeps the user in mind by being very extensible and well documented. Nii-nvim is finally out of heavy development, thus the project should be considered mostly stable

NOTICE!!!!!!!!

You are looking at the obsolite master branch, if you wish to migrate your configs and pull a new version of nii-nvim, please take a look at the docs!

NOTE: Active development will be moved to my sr.ht repo for this project, It is prefered that you leave issues and patches/pull requests over there, rather than opening issue sand prs on github. However i will still keep an eye on github too.

Why nii-nvim?

There are many neovim configurations that exist (i.e. NvChad, Lunar Vim, etc.), however, many of these configurations suffer from a host of problems.

  • Some configurations (like NvChad), have very abstracted and complex codebases.
  • Others rely on having as much overall functionality as possible (like LunarVim).

While none of this is bad, there are some problems that can arise from these choices:

  • Complex codebases lead to less freedom for end-user extensibility and configuration, as there is more reliance on the maintainer of said code.
  • Users may not use half of what is made available to them simply because they don't need all of that functionality, so all of it may not be necessary.

nii-nvim provides a solution to these problems by providing only the necessary code in order to make a functioning configuration. The end goal of nii-nvim is to be used as a base config for users to extend and add upon, leading to a more unique editing experience.

Also the name is cute. (・3・)

Requirements

  • neovim 5.0 or greater
  • fzf
  • git
  • A Nerd Font
  • ripgrep
  • Python 3

Features

  • Heavy focus on both in-source documentation as well as external documentation.
  • Sane Keybinds for extra added functionality
  • Small codebase for easy extensibility
  • A handful of plugins that build off neovim's strengths
  • Swag (and Minimalism!!)

Contributing

PLEASE BE WARY! If you are thinking of contributing, please wait. I am currently in the process of moving this project to sr.ht. Contributions are always appreciated! If you would like to contribute, please check out CONTIBUTING.md in the repository root. If you like sending patches using git's built-in email features, please send all patches to the nii-nvim-devel mailing list.

Support/Community

If you are looking for help, or are looking for others to interact with, you can join the "official" Matrix room and Discord server

You can also shoot an email to the mailing list:

Screenshots

Functionality Showcase

lsp hop tree docs file_find git

Theme Showcase

Everforest Bluewery Gruvbox-material Nord

nii-nvim's People

Contributors

shaunsingh avatar theory-of-everything avatar vovw avatar zaneeme 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

nii-nvim's Issues

[ISSUE] completing lsp-snippets crashes autocompletion and/or language server

  • Have you attempted to fix the error/traceback?
  • Have you made sure the issue exists in the dev branch?
  • Does this issue occur on a clean clone of nii-nvim?

If any of these aren't checked, You really consider submitting an issue. If its an issue caused by a custom configuration, leave that for the community support channels on discord and matrix. UNLESS this issue WILL effec nii-nvim in the future

Issue Description

  • install c++ language server via LSPinstall
  • add this snippet into lua/config/plug/lsp.lua in function definition setup_servers() in for loop line ~23 (roughly)
if server == "clangd" then
	config.filetypes = {"c", "cpp"}; -- we don't want objective-c and objective-cpp!
end
  • Open file in generic c++ environment
  • get a lsp-snippet suggestion and attempt completion.

Attempting to complete an lsp-snippet option appears to crash the autocompletion plugin.
has to do with cmp's snippet completion (this line in particular)

Software Information

  • urxvt-256patch
  • v0.5.0
  • dev

Your Code

(none relevant so far)

Screenshot

N/A

Error during startup

I get this error whenever i start nvim, what does it mean? How do I solve it?

Error detected while processing /home/user/.config/nvim/init.lua:
E5113: Error while calling lua chunk: ...cker/start/nvim-colorizer.lua/lua/colorizer/trie.lua:28: invalid character 1
[NvimTree] Following options were moved to setup (:help nvim-tree.setup): nvim_tree_hide_dotfiles, nvim_tree_ignore
Press ENTER or type command to continue

When I look at line 28 I see the following, which look okay (?):

27 | local Trie_t = ffi.typeof('struct Trie')
28 | local Trie_ptr_t = ffi.typeof('$ *', Trie_t)
29 | local Trie_size = ffi.sizeof(Trie_t)

I am kindof new both to lua and nvim, so I don't really know anything, sadly...

Thanks in advance! ^^

Error detected while processing

Troubleshooting Tasks Attempted:

  • Have you attempted to fix the error/traceback?
  • Have you made sure the issue exists in the dev branch?
  • Does this issue occur on a clean clone of nii-nvim?

Issue Description

  • When Issue Happens
  • Steps To Reproduce

Software Information

  • Terminal, Version
  • Neovim Version
  • current version of nii-nvim

Your Code

If relevant, paste all of your code in here otherwise 

Screenshot

(if applicable)
Screenshot_2022-02-08_19-43-38

[ISSUE] nvim-tree no longer works with current config

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at the discord server or matrix room

  • Have you attempted to fix the error/traceback?
  • Have you made sure the issue exists in the dev branch?
  • Does this issue occur on a clean clone of nii-nvim?

Issue Description

  • Start Nvim

The Issue:

This issue originates from a configuration change in nvim-tree that added lua-based setup for the plugin. I have Fixes on my local repo which I will push to #15 when I finish some other changes, as a temporary fix, replace everything in the lua/config/plug/nvimtree.lua file

local g = vim.g

g.nvim_tree_ignore = { '.git', 'node_modules', '.cache' }
g.nvim_tree_gitignore = 1
g.nvim_tree_auto_ignore_ft = { 'startify', 'dashboard' }
g.nvim_tree_quit_on_open = 0
g.nvim_tree_indent_markers = 1
g.nvim_tree_hide_dotfiles = 1
g.nvim_tree_git_hl = 1
g.nvim_tree_highlight_opened_files = 1
g.nvim_tree_root_folder_modifier = ':~'
g.nvim_tree_add_trailing = 1
g.nvim_tree_group_empty = 1
g.nvim_tree_disable_window_picker = 0
g.nvim_tree_icon_padding = ' '
g.nvim_tree_symlink_arrow = ' >> '
g.nvim_tree_show_icons = {
	git = 1,
	folders = 1,
	files = 1,
}

require('nvim-tree').setup({
	disable_netrw = true,
	hijack_netrw = true,
	open_on_setup = false,
	ignore_ft_on_setup = {},
	auto_close = false,
	open_on_tab = false,
	hijack_cursor = false,
	update_cwd = false,
	lsp_diagnostics = false,

	update_focused_file = {
		enable = false,
		update_cwd = false,
		ignore_list = {},
	},

	system_open = {
		cmd = nil,
		args = {},
	},

	view = {
		width = 30,
		side = 'left',
		auto_resize = false,
		mappings = {
			custom_only = false,
			list = {},
		},
	},
})

[ISSUE]: :PackerSync broke neovim

Today i decided to do :PackerSync after which i got an error:Error detected while processing /home/user/.config/nvim/init.lua: E5113: Error while calling lua chunk: ...site/pack/packer/start/lspkind-nvim/lua/lspkind/init.lua:123: Vim(echoerr):DEPRECATED replaced by mode option. stack traceback: [C]: in function 'nvim_command' ...site/pack/packer/start/lspkind-nvim/lua/lspkind/init.lua:123: in function 'init' /home/user/.config/nvim/lua/config/plug/lspkind.lua:1: in main chunk [C]: in function 'require' /home/user/.config/nvim/lua/config/plug/init.lua:9: in main chunk [C]: in function 'require' /home/user/.config/nvim/init.lua:34: in main chunk

Troubleshooting Tasks Attempted:

  • [-] Have you attempted to fix the error/traceback?
  • [there's no dev branch anymore] Have you made sure the issue exists in the dev branch?
  • [+] Does this issue occur on a clean clone of nii-nvim?

Issue Description

It happens everytime i try to start nvim.
To reproduce, simply install nii-nvim from the master branch. Also what i think caused it is after i did the update i've noticed it typed 'potentially breaking changes'.

Software Information

  • Wezterm, newest
  • newest
  • newest

Your Code

If relevant, paste all of your code in here otherwise 

Screenshot

(if applicable)

Autocompletion does not function properly

This bug effects:

  • branch: master

Steps to reproduce:

  • Make sure that all compe related keybinds are uncommented in keymap.lua
  • Try to use autocompletion with Tab

Potential Fixes:

  • Install a snippet engine/plugin?

im retarded

what font do i need for the dashboard icons? i installed all the requirements i think

[ISSUE] issue while launching: use_internal_diff is now deprecated.

"use_internal_diff is now deprecated, please use diff_opts.inter nal"

  • Have you attempted to fix the error/traceback?

  • tried looking trough configs, didnt find relevant text

  • Does this issue occur on a clean clone of nii-nvim?

  • yes

If any of these aren't checked, You really consider submitting an issue. If its an issue caused by a custom configuration, leave that for the community support channels on discord and matrix. UNLESS this issue WILL effec nii-nvim in the future

Issue Description

  • When Issue Happens
  • lauching nvim
  • Steps To Reproduce
  • launch nvim

Software Information

  • Terminal, Version
  • alacritty
  • Neovim Version 0.9.0
  • nvim v0.5.0
  • current version of nii-nvim
  • latest

os:arcolinux
kernel= 5.14.5
shell zsh 5.8

nvim problem

[DEPRECATION]: Nvimtree lsp_diagnostics is deprecated

  • Have you attempted to fix the error/traceback?
  • Have you made sure the issue exists in the dev branch?
  • Does this issue occur on a clean clone of nii-nvim?

If any of these aren't checked, You really consider submitting an issue. If its an issue caused by a custom configuration, leave that for the community support channels on discord and matrix. UNLESS this issue WILL effec nii-nvim in the future

Issue Description

  • Start nvim

Simple depreaction of some stuff in nvim tree, just remove line "lsp_diagnostics = false` in config

On Documentation...

In the current moment, documentation has been put on hold in order to focus more of making the default config stable enough to ship in the master branch. For the time being no/little updates will be made to documentation until the master branch is stable enough.

[ISSUE]: Cannot find path for sumneko lsp binary

Troubleshooting Tasks Attempted:

  • Have you attempted to fix the error/traceback?
  • Have you made sure the issue exists in the dev branch?
  • Does this issue occur on a clean clone of nii-nvim?

Issue Description

  • on fresh build of sumneko, the handler library cannot detect lsp binary path

This probably has to do with weird build paths that have changed since I last built sumneko

Software Information

latest version, on urxvt

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.