mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-12-07 09:35:37 -08:00
Compare commits
22 Commits
cpatti_don
...
teej-fixup
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ff0f35da1 | ||
|
|
30a1ccc89b | ||
|
|
5775433158 | ||
|
|
1e3ba58a40 | ||
|
|
51842d8064 | ||
|
|
0f8eb177da | ||
|
|
9837e7ed38 | ||
|
|
48c88b73be | ||
|
|
dacbbf59c2 | ||
|
|
bad5a2d0b8 | ||
|
|
65cbba91ab | ||
|
|
532dbef6b4 | ||
|
|
95d8863806 | ||
|
|
1b9467751a | ||
|
|
ceadebd22d | ||
|
|
2022a26e28 | ||
|
|
f1d3a3c32f | ||
|
|
e9f8139fcf | ||
|
|
2d9bfa0bb7 | ||
|
|
e419aa5ef6 | ||
|
|
c0ccf101ad | ||
|
|
1bc4bfc2fe |
@@ -183,11 +183,6 @@ return {
|
|||||||
|
|
||||||
Installation may require installing build tools, and updating the run command for `telescope-fzf-native`
|
Installation may require installing build tools, and updating the run command for `telescope-fzf-native`
|
||||||
|
|
||||||
Users should follow the [Treesitter Windows
|
|
||||||
Installation](https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support)
|
|
||||||
instructions to allow Treesitter language extensions to be downloaded from
|
|
||||||
Github.
|
|
||||||
|
|
||||||
See `telescope-fzf-native` documentation for [more details](https://github.com/nvim-telescope/telescope-fzf-native.nvim#installation)
|
See `telescope-fzf-native` documentation for [more details](https://github.com/nvim-telescope/telescope-fzf-native.nvim#installation)
|
||||||
|
|
||||||
This requires:
|
This requires:
|
||||||
|
|||||||
9
init.lua
9
init.lua
@@ -184,14 +184,10 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
|
|||||||
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
|
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
|
||||||
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
|
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
|
||||||
|
|
||||||
-- [[ Basic Autocommands ]]
|
|
||||||
-- See :help lua-guide-autocommands
|
|
||||||
|
|
||||||
-- Highlight when yanking (copying) text
|
-- Highlight when yanking (copying) text
|
||||||
-- Try it with `yap` in normal mode
|
-- Try it with `yap` in normal mode
|
||||||
-- See `:help vim.highlight.on_yank()`
|
-- See `:help vim.highlight.on_yank()`
|
||||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||||
desc = 'Highlight when yanking (copying) text',
|
|
||||||
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
|
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.highlight.on_yank()
|
vim.highlight.on_yank()
|
||||||
@@ -771,14 +767,11 @@ require('lazy').setup({
|
|||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
config = function()
|
config = function()
|
||||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||||
-- Use precompiled binaries for faster startup.
|
|
||||||
-- This also means Windows users won't fail on startup by default.
|
|
||||||
require('nvim-treesitter.install').prefer_git = false
|
|
||||||
|
|
||||||
---@diagnostic disable-next-line: missing-fields
|
---@diagnostic disable-next-line: missing-fields
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc' },
|
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc' },
|
||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
|
|||||||
Reference in New Issue
Block a user