mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 07:11:09 +00:00
Fix neovim config for snippets and added user snippets
This commit is contained in:
@@ -29,3 +29,6 @@ PS1="${F_BOLD}${C_AQUAMARINE1}\u@\h${C_YELLOW1} \w \\\$${NO_FORMAT} "
|
|||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
export HISTCONTROL=ignoredups
|
||||||
|
export HISTSIZE=11000
|
||||||
|
export HISTFILESIZE=11000
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
LunarVim
|
|
||||||
+24
@@ -46,6 +46,12 @@ lvim.builtin.lualine.sections.lualine_b = { 'branch', '%f' }
|
|||||||
-- Automatically install missing parsers when entering buffer
|
-- Automatically install missing parsers when entering buffer
|
||||||
lvim.builtin.treesitter.auto_install = true
|
lvim.builtin.treesitter.auto_install = true
|
||||||
|
|
||||||
|
lvim.builtin.luasnip = {
|
||||||
|
sources = {
|
||||||
|
friendly_snippets = false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
-- lvim.builtin.treesitter.ignore_install = { "haskell" }
|
-- lvim.builtin.treesitter.ignore_install = { "haskell" }
|
||||||
|
|
||||||
-- -- always installed on startup, useful for parsers without a strict filetype
|
-- -- always installed on startup, useful for parsers without a strict filetype
|
||||||
@@ -293,6 +299,24 @@ lvim.plugins = {
|
|||||||
"jamessan/vim-gnupg",
|
"jamessan/vim-gnupg",
|
||||||
-- lazy = true,
|
-- lazy = true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"honza/vim-snippets",
|
||||||
|
lazy = true,
|
||||||
|
event = "InsertEnter",
|
||||||
|
config = function()
|
||||||
|
-- TODO: Implement - custom snippets should go to user's directory. See below
|
||||||
|
-- https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#edit_snippets
|
||||||
|
-- require("luasnip.loaders.from_snipmate").lazy_load {
|
||||||
|
-- paths = get_runtime_dir() .. "/site/pack/lazy/opt/vim-snippets/snippets"
|
||||||
|
-- }
|
||||||
|
end,
|
||||||
|
dependencies = {
|
||||||
|
"LuaSnip",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"godlygeek/tabular"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"kylechui/nvim-surround",
|
"kylechui/nvim-surround",
|
||||||
config = function()
|
config = function()
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user