Compare commits

..

No commits in common. "098307eac91e0df71c029ef9bea02e807f2283e7" and "9c620bd13df3f0b68b731f64f0eef6f8cd401a81" have entirely different histories.

3 changed files with 1 additions and 9 deletions

View File

@ -11,7 +11,7 @@ vim.o.softtabstop = 4
vim.o.expandtab = true -- owo expands ur tab vim.o.expandtab = true -- owo expands ur tab
vim.o.list = true vim.o.list = true
vim.o.listchars = "trail:·,tab:␉·" -- show trailing spaces vim.o.listchars = "trail:·" -- show trailing spaces
-- Colors -- Colors
vim.cmd "colorscheme gruvbox" vim.cmd "colorscheme gruvbox"

View File

@ -13,8 +13,6 @@
nvim-lspconfig nvim-lspconfig
nvim-cmp nvim-cmp
cmp-nvim-lsp cmp-nvim-lsp
nvim-snippy
cmp-snippy
# Language specific # Language specific
go-nvim go-nvim
rust-vim rust-vim

View File

@ -12,12 +12,6 @@ end
-- Completion -- Completion
local cmp = require'cmp' local cmp = require'cmp'
cmp.setup({ cmp.setup({
-- Use snippy for completion
snippet = {
expand = function(args)
require('snippy').expand_snippet(args.body)
end,
},
-- Disable completions if we're in a comment -- Disable completions if we're in a comment
enabled = function() enabled = function()
if require"cmp.config.context".in_treesitter_capture("comment")==true or require"cmp.config.context".in_syntax_group("Comment") then if require"cmp.config.context".in_treesitter_capture("comment")==true or require"cmp.config.context".in_syntax_group("Comment") then