Compare commits
2
Commits
560a493191
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f326d1f42e | ||
|
|
ae039e4352 |
@@ -178,6 +178,11 @@ vim.keymap.set('n', 'q:', '<nop>')
|
|||||||
vim.keymap.set('n', 'q/', '<nop>')
|
vim.keymap.set('n', 'q/', '<nop>')
|
||||||
vim.keymap.set('n', 'q?', '<nop>')
|
vim.keymap.set('n', 'q?', '<nop>')
|
||||||
vim.keymap.set('c', '<C-f>', '<nop>')
|
vim.keymap.set('c', '<C-f>', '<nop>')
|
||||||
|
vim.api.nvim_create_autocmd('CmdwinEnter', {
|
||||||
|
callback = function()
|
||||||
|
vim.cmd 'quit'
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
-- Diagnostic keymaps
|
-- Diagnostic keymaps
|
||||||
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
|
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
|
||||||
@@ -252,6 +257,12 @@ require('lazy').setup({
|
|||||||
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
|
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
|
||||||
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
||||||
|
|
||||||
|
{
|
||||||
|
'Aasim-A/scrollEOF.nvim',
|
||||||
|
event = { 'CursorMoved', 'WinScrolled' },
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
|
||||||
-- NOTE: Plugins can also be added by using a table,
|
-- NOTE: Plugins can also be added by using a table,
|
||||||
-- with the first argument being the link and the following
|
-- with the first argument being the link and the following
|
||||||
-- keys can be used to configure plugin behavior/loading/etc.
|
-- keys can be used to configure plugin behavior/loading/etc.
|
||||||
@@ -1042,7 +1053,7 @@ require('lazy').setup({
|
|||||||
config = function()
|
config = function()
|
||||||
local ts = require 'nvim-treesitter'
|
local ts = require 'nvim-treesitter'
|
||||||
ts.setup()
|
ts.setup()
|
||||||
ts.install { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }
|
ts.install { 'bash', 'c', 'diff', 'html', 'java', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('FileType', {
|
vim.api.nvim_create_autocmd('FileType', {
|
||||||
callback = function(args)
|
callback = function(args)
|
||||||
|
|||||||
Reference in New Issue
Block a user