Mainly alignment
This commit is contained in:
@@ -4,7 +4,8 @@ function ColorMyPencils(color)
|
||||
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
|
||||
end
|
||||
|
||||
vim.keymap.set("n", "<leader>c", function() ColorMyPencils() end)
|
||||
|
||||
ColorMyPencils()
|
||||
|
||||
@@ -3,7 +3,7 @@ local ui = require("harpoon.ui")
|
||||
|
||||
vim.keymap.set("n", "<leader>a", mark.add_file)
|
||||
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
|
||||
vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end)
|
||||
vim.keymap.set("n", "<C-t>", function() ui.nav_file(2) end)
|
||||
vim.keymap.set("n", "<C-n>", function() ui.nav_file(3) end)
|
||||
vim.keymap.set("n", "<C-s>", function() ui.nav_file(4) end)
|
||||
vim.keymap.set("n", "<leader>1", function() ui.nav_file(1) end)
|
||||
vim.keymap.set("n", "<leader>2", function() ui.nav_file(2) end)
|
||||
vim.keymap.set("n", "<leader>3", function() ui.nav_file(3) end)
|
||||
vim.keymap.set("n", "<leader>4", function() ui.nav_file(4) end)
|
||||
|
||||
@@ -33,7 +33,7 @@ lsp.configure('lua_ls', {
|
||||
})
|
||||
|
||||
lsp.on_attach(function(_, bufnr)
|
||||
lsp.default_keymaps({buffer = bufnr})
|
||||
lsp.default_keymaps({ buffer = bufnr })
|
||||
end)
|
||||
|
||||
lsp.set_sign_icons({
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
require 'nvim-treesitter.configs'.setup {
|
||||
-- A list of parser names, or "all" (the five listed parsers should always be installed)
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "rust", "cpp", "cmake", "latex", "python" },
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "rust", "cpp", "cmake", "latex", "python", "groovy",
|
||||
"ocaml" },
|
||||
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
||||
@@ -10,11 +10,11 @@ return require('packer').startup(function(use)
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.6',
|
||||
-- or , branch = '0.1.x',
|
||||
requires = { {'nvim-lua/plenary.nvim'} }
|
||||
requires = { { 'nvim-lua/plenary.nvim' } }
|
||||
}
|
||||
|
||||
-- Color stuff
|
||||
use ({
|
||||
use({
|
||||
'romainl/vim-dichromatic',
|
||||
config = function()
|
||||
vim.cmd('colorscheme dichromatic')
|
||||
@@ -22,11 +22,11 @@ return require('packer').startup(function(use)
|
||||
})
|
||||
|
||||
-- Miscellaneous packages that fit on a line
|
||||
use ('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
|
||||
use ('nvim-treesitter/playground')
|
||||
use ('theprimeagen/harpoon')
|
||||
use ('mbbill/undotree')
|
||||
use ('tpope/vim-fugitive')
|
||||
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
|
||||
use('nvim-treesitter/playground')
|
||||
use('theprimeagen/harpoon')
|
||||
use('mbbill/undotree')
|
||||
use('tpope/vim-fugitive')
|
||||
|
||||
-- LSP stuff
|
||||
use {
|
||||
@@ -34,20 +34,19 @@ return require('packer').startup(function(use)
|
||||
branch = 'v2.x',
|
||||
requires = {
|
||||
-- LSP Support
|
||||
{'neovim/nvim-lspconfig'}, -- Required
|
||||
{ 'neovim/nvim-lspconfig' }, -- Required
|
||||
{ -- Optional
|
||||
'williamboman/mason.nvim',
|
||||
run = function()
|
||||
pcall(vim.cmd, 'MasonUpdate')
|
||||
end,
|
||||
},
|
||||
{'williamboman/mason-lspconfig.nvim'}, -- Optional
|
||||
{ 'williamboman/mason-lspconfig.nvim' }, -- Optional
|
||||
|
||||
-- Autocompletion
|
||||
{'hrsh7th/nvim-cmp'}, -- Required
|
||||
{'hrsh7th/cmp-nvim-lsp'}, -- Required
|
||||
{'L3MON4D3/LuaSnip'}, -- Required
|
||||
{ 'hrsh7th/nvim-cmp' }, -- Required
|
||||
{ 'hrsh7th/cmp-nvim-lsp' }, -- Required
|
||||
{ 'L3MON4D3/LuaSnip' }, -- Required
|
||||
}
|
||||
}
|
||||
|
||||
end)
|
||||
|
||||
@@ -33,4 +33,3 @@ vim.opt.updatetime = 50
|
||||
|
||||
vim.opt.colorcolumn = "120"
|
||||
|
||||
vim.g.mapleader = " "
|
||||
|
||||
Reference in New Issue
Block a user