modified: init.lua
modified: lua/config.lua modified: lua/keybinds.lua renamed: lua/lsp_setup.lua -> lua/lsp.lua modified: lua/plugins.lua modified: plugin/packer_compiled.lua
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ opt.linebreak = true
|
||||
opt.inccommand = "split" -- Get a preview of replacements
|
||||
opt.incsearch = true -- Shows the match while typing
|
||||
|
||||
--opt.undofile = true
|
||||
opt.undofile = true
|
||||
--opt.undodir = "~/.local/share/nvim/undodir"
|
||||
|
||||
opt.encoding = "utf-8"
|
||||
|
||||
+2
-2
@@ -63,12 +63,12 @@ map("v", "w", hopword, {silent = true})
|
||||
-- FZF --
|
||||
---------
|
||||
map("n", "<Leader>o", ":Files <CR>")
|
||||
map("n", "<Leader>b", ":Buffers <CR>")
|
||||
map("n", "<Leader>p", ":Buffers <CR>")
|
||||
map("n", "<Leader>h", ":Helptags <CR>")
|
||||
map("n", "<Leader>;", ":History: <CR>")
|
||||
map("n", "<Leader>c", ":Commands <CR>")
|
||||
map("n", "<Leader>/", ":Rg <CR>")
|
||||
map("n", "<Leader>[", ":Windows <CR>")
|
||||
--map("n", "<Leader>[", ":Windows <CR>")
|
||||
|
||||
---------
|
||||
-- ALE --
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
local opt = vim.opt -- to set options
|
||||
--
|
||||
--------------------
|
||||
-- NVIM-AUTOPAIRS --
|
||||
--------------------
|
||||
require("nvim-autopairs").setup {check_ts = true}
|
||||
|
||||
--------------
|
||||
-- NVIM-CMP --
|
||||
@@ -13,6 +18,7 @@ local has_words_before = function()
|
||||
end
|
||||
|
||||
local luasnip = require("luasnip")
|
||||
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
|
||||
local cmp = require("cmp")
|
||||
|
||||
cmp.setup {
|
||||
@@ -65,6 +71,8 @@ cmp.setup {
|
||||
}
|
||||
}
|
||||
|
||||
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done({map_char = {tex = ""}}))
|
||||
|
||||
--------------------
|
||||
-- NVIM-AUTOPAIRS --
|
||||
--------------------
|
||||
+2
-2
@@ -34,8 +34,8 @@ require("packer").startup(
|
||||
}
|
||||
|
||||
-- EDITOR
|
||||
--use "windwp/nvim-autopairs"
|
||||
use "jiangmiao/auto-pairs"
|
||||
use "windwp/nvim-autopairs"
|
||||
--use "jiangmiao/auto-pairs"
|
||||
use "dense-analysis/ale"
|
||||
--use "nathanmsmith/nvim-ale-diagnostic"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user