mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-15 07:23:02 +02:00
show whitespace for python files
This commit is contained in:
parent
a5b6985f46
commit
99fe09e442
3 changed files with 61 additions and 2 deletions
10
init.lua
10
init.lua
|
@ -213,6 +213,14 @@ vim.api.nvim_create_autocmd('TextYankPost', {
|
|||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "python",
|
||||
callback = function()
|
||||
vim.opt_local.list = true
|
||||
vim.opt_local.listchars = { space = "·", tab = "→ ", trail = "•", extends = "⟩", precedes = "⟨" }
|
||||
end,
|
||||
})
|
||||
|
||||
-- [[ Install `lazy.nvim` plugin manager ]]
|
||||
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
|
||||
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
||||
|
@ -730,7 +738,7 @@ require('lazy').setup({
|
|||
},
|
||||
|
||||
{ -- Autocompletion
|
||||
'hrsh7th/nvim-cmp',
|
||||
'saghen/blink.cmp',
|
||||
event = 'InsertEnter',
|
||||
dependencies = {
|
||||
-- Snippet Engine & its associated nvim-cmp source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue