Compare commits
10 Commits
754a895adc
...
cc9a0363ed
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc9a0363ed | ||
|
|
f1cd000c83 | ||
|
|
e2e36e8e21 | ||
|
|
91ced78445 | ||
|
|
2f10cfc288 | ||
|
|
806d00eeaf | ||
|
|
0b10b18a38 | ||
|
|
e6058167d0 | ||
|
|
99d73450e8 | ||
|
|
6f507732dc |
12
init.lua
12
init.lua
@@ -3,9 +3,11 @@ vim.keymap.set('n', '<leader>e', '<cmd>lua vim.diagnostic.open_float()<CR>', {no
|
|||||||
-- vim.keymap.set('n', '<leader>f', '<cmd>lua MiniFiles.open()<cr>', { desc = "Find files recursively" })
|
-- vim.keymap.set('n', '<leader>f', '<cmd>lua MiniFiles.open()<cr>', { desc = "Find files recursively" })
|
||||||
vim.keymap.set('n', '<leader>f', '<cmd>Oil --float . <cr>', { desc = "Find files recursively" })
|
vim.keymap.set('n', '<leader>f', '<cmd>Oil --float . <cr>', { desc = "Find files recursively" })
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
virtual_text = true, -- Display diagnostics as inline text
|
virtual_text = true, -- Display diagnostics as inline text
|
||||||
-- Other options can be added here, like:
|
-- Other options can be added here, like:
|
||||||
-- signs = true, -- Show icons in the gutter
|
signs = false, -- Show icons in the gutter
|
||||||
-- underline = true, -- Highlight the affected text
|
underline = true, -- Highlight the affected text
|
||||||
})
|
})
|
||||||
vim.cmd 'colorscheme atom-dark-256'
|
-- vim.cmd 'colorscheme atom-dark-256'
|
||||||
|
vim.opt.laststatus = 0
|
||||||
|
vim.opt.showmode = false
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
{
|
{
|
||||||
"blink.cmp": { "branch": "main", "commit": "bae4bae0eedd1fa55f34b685862e94a222d5c6f8" },
|
"blink.cmp": { "branch": "main", "commit": "bae4bae0eedd1fa55f34b685862e94a222d5c6f8" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||||
"mini.icons": { "branch": "main", "commit": "f9a177c11daa7829389b7b6eaaec8b8a5c47052d" },
|
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||||
"mini.nvim": { "branch": "main", "commit": "d12b7c1b4dccc5245a3d2b7bc73da6dd910af2c0" },
|
"mini.icons": { "branch": "main", "commit": "ff2e4f1d29f659cc2bad0f9256f2f6195c6b2428" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "d89f4891f0720cd2598e4bdd60010d8784b2ac8a" },
|
"nvim-lspconfig": { "branch": "master", "commit": "f7c6e585fd80d5a2c075ab27ac312ac55bcf1550" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
"oil.nvim": { "branch": "master", "commit": "07f80ad645895af849a597d1cac897059d89b686" },
|
"nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" },
|
||||||
|
"oil.nvim": { "branch": "master", "commit": "cbcb3f997f6f261c577b943ec94e4ef55108dd95" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
"snacks.nvim": { "branch": "main", "commit": "da230e3ca8146da4b73752daaf0a1d07d343c12d" },
|
"snacks.nvim": { "branch": "main", "commit": "fe7cfe9800a182274d0f868a74b7263b8c0c020b" },
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }
|
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||||
|
"tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" }
|
||||||
}
|
}
|
||||||
|
|||||||
12
lua/plugins/colorscheme.lua
Normal file
12
lua/plugins/colorscheme.lua
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
return {
|
||||||
|
-- the colorscheme should be available when starting Neovim
|
||||||
|
{
|
||||||
|
"folke/tokyonight.nvim",
|
||||||
|
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
||||||
|
priority = 1000, -- make sure to load this before all the other start plugins
|
||||||
|
config = function()
|
||||||
|
-- load the colorscheme here
|
||||||
|
vim.cmd([[colorscheme tokyonight-night]])
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
10
lua/plugins/lualine.lua
Normal file
10
lua/plugins/lualine.lua
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
'nvim-lualine/lualine.nvim',
|
||||||
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||||
|
config = function(_, opts)
|
||||||
|
require('lualine').setup()
|
||||||
|
end,
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
return {
|
|
||||||
{
|
|
||||||
'nvim-mini/mini.nvim',
|
|
||||||
version = false,
|
|
||||||
config = function(_, opts)
|
|
||||||
require('mini.statusline').setup()
|
|
||||||
-- require('mini.files').setup()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -2,9 +2,10 @@ return {
|
|||||||
{
|
{
|
||||||
"https://github.com/neovim/nvim-lspconfig",
|
"https://github.com/neovim/nvim-lspconfig",
|
||||||
config = function()
|
config = function()
|
||||||
local lspconfig = require("lspconfig")
|
vim.lsp.enable('pyright')
|
||||||
lspconfig.gopls.setup({})
|
vim.lsp.enable('gopls')
|
||||||
lspconfig.pyright.setup({})
|
vim.lsp.enable('terraformls')
|
||||||
|
vim.lsp.enable('tflint')
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
tag = '0.1.8',
|
tag = '0.1.8',
|
||||||
dependencies = { 'nvim-lua/plenary.nvim',
|
dependencies = { 'nvim-lua/plenary.nvim',
|
||||||
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' }
|
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' }
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require('telescope').setup {
|
require('telescope').setup {
|
||||||
pickers = {
|
pickers = {
|
||||||
find_files = {
|
find_files = {
|
||||||
theme = "ivy"
|
theme = "ivy"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
extensions = {
|
extensions = {
|
||||||
fzf = {}
|
fzf = {}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
require('telescope').load_extension('fzf')
|
|
||||||
vim.keymap.set("n", "<space>fd", require('telescope.builtin').find_files)
|
|
||||||
end
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require('telescope').load_extension('fzf')
|
||||||
|
vim.keymap.set("n", "<space>fd", require('telescope.builtin').find_files)
|
||||||
|
end
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user