rm plugin folder since it gets automatically created whenever updating plugins
This commit is contained in:
parent
4647a847e3
commit
7c07bb8c8c
27
README.md
27
README.md
@ -65,6 +65,17 @@ without Treesitter :
|
|||||||
with Treesitter :
|
with Treesitter :
|
||||||
<kbd> <img src = "https://raw.githubusercontent.com/siduck76/dotfiles/master/rice%20flex/wiTree.png"></kbd><hr>
|
<kbd> <img src = "https://raw.githubusercontent.com/siduck76/dotfiles/master/rice%20flex/wiTree.png"></kbd><hr>
|
||||||
|
|
||||||
|
### nvim-base16 -
|
||||||
|
|
||||||
|
contains a collection of all base16 themes for vim , plugin written in lua (comparison of base16-vim and nvim-base16):
|
||||||
|
|
||||||
|
nvim-base16 doesnt even take time to load unlike base16-vim which was eating half of the loadup time! ( the below screenshot was taken and tested on my old pentium laptop , so results might differ)
|
||||||
|
<kbd> <img src = "https://raw.githubusercontent.com/siduck76/dotfiles/master/rice%20flex/nvim-base16.png"></kbd><hr>
|
||||||
|
|
||||||
|
(neovim loads pretty fast on ssds)
|
||||||
|
|
||||||
|
<kbd> <img src = "https://raw.githubusercontent.com/siduck76/dotfiles/master/rice%20flex/nvim-startup.png"></kbd><hr>
|
||||||
|
|
||||||
# Config structure
|
# Config structure
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -112,7 +123,8 @@ with Treesitter :
|
|||||||
# Clone my setup -
|
# Clone my setup -
|
||||||
|
|
||||||
- Install neovim-nightly , also use a nerdfont on your terminal.
|
- Install neovim-nightly , also use a nerdfont on your terminal.
|
||||||
- run the install.sh script as root or copy the configs manually :
|
- run the install.sh (this might work only on nix systems) or do it manually :
|
||||||
|
|
||||||
- Install packer.nvim
|
- Install packer.nvim
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@ -120,9 +132,9 @@ git clone https://github.com/wbthomason/packer.nvim\
|
|||||||
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||||
```
|
```
|
||||||
|
|
||||||
- copy all config files in from this repo except ( plugin folder as it has config related to my system's username! )
|
- copy lua folder and init.lua into ~/.config/nvim
|
||||||
- Open neovim and install all plugins , :PackerInstall and :TSUpdate
|
- Open neovim and install all plugins , :PackerInstall (let treesitter install all its extensionsm
|
||||||
- Install language servers and prettier ( for autocompletion etc and code formatting , nodejs should be installed too!)
|
- Install language servers and prettier ( for autocompletion etc and code formatting , nodejs should be installed too!) , this usually depends on the language support you want to add in your neovim config.
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo npm install -g vscode-html-languageserver-bin typescript typescript-language-server vscode-css-languageserver-bin prettier
|
sudo npm install -g vscode-html-languageserver-bin typescript typescript-language-server vscode-css-languageserver-bin prettier
|
||||||
@ -163,13 +175,6 @@ I'd install it first and add its setup line :
|
|||||||
- add snippets support
|
- add snippets support
|
||||||
- show statusline in inactive windows
|
- show statusline in inactive windows
|
||||||
|
|
||||||
# Troubleshooting -
|
|
||||||
|
|
||||||
![image](https://user-images.githubusercontent.com/59060246/111059898-f096cf00-84be-11eb-977a-f91d622ee5b9.png)
|
|
||||||
|
|
||||||
if you get any errors with packer.nvim , then remove the ~/.config/nvim/plugin/packer_nvim.vim file since it just has file paths for my system
|
|
||||||
and re-install packer.nvim
|
|
||||||
|
|
||||||
# Contact -
|
# Contact -
|
||||||
|
|
||||||
- My linux / unix related ricing community: https://t.me/DE_WM (telegram)
|
- My linux / unix related ricing community: https://t.me/DE_WM (telegram)
|
||||||
|
@ -1,141 +0,0 @@
|
|||||||
" Automatically generated packer.nvim plugin loader code
|
|
||||||
|
|
||||||
if !has('nvim-0.5')
|
|
||||||
echohl WarningMsg
|
|
||||||
echom "Invalid Neovim version for packer.nvim!"
|
|
||||||
echohl None
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
|
|
||||||
packadd packer.nvim
|
|
||||||
|
|
||||||
try
|
|
||||||
|
|
||||||
lua << END
|
|
||||||
local package_path_str = "/home/sid/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/sid/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/sid/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/sid/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
|
|
||||||
local install_cpath_pattern = "/home/sid/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
|
|
||||||
if not string.find(package.path, package_path_str, 1, true) then
|
|
||||||
package.path = package.path .. ';' .. package_path_str
|
|
||||||
end
|
|
||||||
|
|
||||||
if not string.find(package.cpath, install_cpath_pattern, 1, true) then
|
|
||||||
package.cpath = package.cpath .. ';' .. install_cpath_pattern
|
|
||||||
end
|
|
||||||
|
|
||||||
local function try_loadstring(s, component, name)
|
|
||||||
local success, result = pcall(loadstring(s))
|
|
||||||
if not success then
|
|
||||||
print('Error running ' .. component .. ' for ' .. name)
|
|
||||||
error(result)
|
|
||||||
end
|
|
||||||
return result
|
|
||||||
end
|
|
||||||
|
|
||||||
_G.packer_plugins = {
|
|
||||||
["base16-vim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/base16-vim"
|
|
||||||
},
|
|
||||||
["galaxyline.nvim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/galaxyline.nvim"
|
|
||||||
},
|
|
||||||
["gitsigns.nvim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/gitsigns.nvim"
|
|
||||||
},
|
|
||||||
["indent-blankline.nvim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim"
|
|
||||||
},
|
|
||||||
indentLine = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/indentLine"
|
|
||||||
},
|
|
||||||
["lspkind-nvim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/lspkind-nvim"
|
|
||||||
},
|
|
||||||
neoformat = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/neoformat"
|
|
||||||
},
|
|
||||||
["nvim-autopairs"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-autopairs"
|
|
||||||
},
|
|
||||||
["nvim-bufferline.lua"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-bufferline.lua"
|
|
||||||
},
|
|
||||||
["nvim-colorizer.lua"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua"
|
|
||||||
},
|
|
||||||
["nvim-compe"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-compe"
|
|
||||||
},
|
|
||||||
["nvim-lspconfig"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-lspconfig"
|
|
||||||
},
|
|
||||||
["nvim-tree.lua"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-tree.lua"
|
|
||||||
},
|
|
||||||
["nvim-treesitter"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-treesitter"
|
|
||||||
},
|
|
||||||
["nvim-web-devicons"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-web-devicons"
|
|
||||||
},
|
|
||||||
["packer.nvim"] = {
|
|
||||||
loaded = false,
|
|
||||||
needs_bufread = false,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/opt/packer.nvim"
|
|
||||||
},
|
|
||||||
["plenary.nvim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/plenary.nvim"
|
|
||||||
},
|
|
||||||
["popup.nvim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/popup.nvim"
|
|
||||||
},
|
|
||||||
["startuptime.vim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/startuptime.vim"
|
|
||||||
},
|
|
||||||
["telescope-media-files.nvim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/telescope-media-files.nvim"
|
|
||||||
},
|
|
||||||
["telescope.nvim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/telescope.nvim"
|
|
||||||
},
|
|
||||||
["vim-auto-save"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-auto-save"
|
|
||||||
},
|
|
||||||
["vim-closetag"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-closetag"
|
|
||||||
},
|
|
||||||
["vim-devicons"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-devicons"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
END
|
|
||||||
|
|
||||||
catch
|
|
||||||
echohl ErrorMsg
|
|
||||||
echom "Error in packer_compiled: " .. v:exception
|
|
||||||
echom "Please check your config for correctness"
|
|
||||||
echohl None
|
|
||||||
endtry
|
|
Loading…
Reference in New Issue
Block a user