Compare commits
21 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8b43b3eff6 | ||
![]() |
55755c2c39 | ||
![]() |
ee947e8e6f | ||
![]() |
030b052bc7 | ||
![]() |
e0eac58014 | ||
![]() |
544bf16f0f | ||
![]() |
3739ec6455 | ||
![]() |
fa38c4c444 | ||
![]() |
e0c1957859 | ||
6799bba9fe | |||
4f194817e3 | |||
![]() |
cf57ffef24 | ||
![]() |
2004917dbb | ||
![]() |
7867c4d10c | ||
ffaa0813cd | |||
![]() |
32725a7bc0 | ||
![]() |
c6c38989bd | ||
502027ec33 | |||
89baa025d7 | |||
0ad14f3ab0 | |||
bd0ed35383 |
7 changed files with 14 additions and 114 deletions
|
@ -1,5 +1,3 @@
|
|||
live_config_reload = true
|
||||
working_directory = "None"
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
@ -10,3 +8,7 @@ size = 16
|
|||
[font.normal]
|
||||
family = "JetBrains Mono"
|
||||
style = "Medium"
|
||||
|
||||
[general]
|
||||
live_config_reload = true
|
||||
working_directory = "None"
|
||||
|
|
1
.config/nvim
Submodule
1
.config/nvim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit b44b7e7d563144c275d534a1acc73aeba3ab5226
|
|
@ -1,112 +0,0 @@
|
|||
vim.opt.number = true
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.number = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.title = true
|
||||
vim.opt.whichwrap = "<,>,[,]"
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
local plugins = {
|
||||
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 },
|
||||
{ "rebelot/kanagawa.nvim", name = "kanagawa", priority = 1000 },
|
||||
{
|
||||
"nvim-telescope/telescope.nvim", tag = "0.1.6",
|
||||
dependencies = { "nvim-lua/plenary.nvim" }
|
||||
},
|
||||
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
|
||||
{ "williamboman/mason.nvim" },
|
||||
{ "williamboman/mason-lspconfig.nvim" },
|
||||
{ "neovim/nvim-lspconfig" },
|
||||
{ "hrsh7th/cmp-nvim-lsp" },
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
dependencies = {
|
||||
"saadparwaiz1/cmp_luasnip",
|
||||
"rafamadriz/friendly-snippets",
|
||||
},
|
||||
},
|
||||
{ "hrsh7th/nvim-cmp" },
|
||||
}
|
||||
local opts = {}
|
||||
|
||||
require("lazy").setup(plugins, opts)
|
||||
|
||||
--vim.cmd.colorscheme "catppuccin"
|
||||
vim.cmd.colorscheme "kanagawa"
|
||||
local builtin = require("telescope.builtin")
|
||||
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = { "asm", "c", "javascript", "latex", "lua", "matlab", "meson", "sql", "toml", "typescript", "vue" },
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true }
|
||||
})
|
||||
|
||||
require("mason").setup()
|
||||
require("mason-lspconfig").setup({
|
||||
ensure_installed = { "clangd", "texlab", "lua_ls", "matlab_ls", "mesonlsp", "sqlls", "tsserver", "volar" }
|
||||
})
|
||||
|
||||
local lspconfig = require("lspconfig")
|
||||
|
||||
lspconfig.clangd.setup({
|
||||
cmd = { "clangd", "-header-insertion=never" },
|
||||
})
|
||||
lspconfig.lua_ls.setup({})
|
||||
lspconfig.matlab_ls.setup({})
|
||||
lspconfig.mesonlsp.setup({})
|
||||
lspconfig.sqlls.setup({})
|
||||
lspconfig.texlab.setup({})
|
||||
lspconfig.tsserver.setup({})
|
||||
lspconfig.volar.setup({})
|
||||
|
||||
local cmp = require("cmp")
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
|
||||
cmp.setup({
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require("luasnip").lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
["<C-e>"] = cmp.mapping.abort(),
|
||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "luasnip" }, -- For luasnip users.
|
||||
}, {
|
||||
{ name = "buffer" },
|
||||
}),
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "T", function() vim.lsp.buf.definition() end, {})
|
||||
vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, {})
|
||||
vim.keymap.set("n", "J", function() vim.lsp.buf.type_definition() end, {})
|
||||
vim.keymap.set("n", "C", function() vim.lsp.buf.code_action() end, {})
|
||||
|
||||
vim.keymap.set("n", "<C-p>", builtin.find_files, {})
|
||||
vim.keymap.set("n", "<C-f>", builtin.live_grep, {})
|
1
.config/tmux
Submodule
1
.config/tmux
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ed810ce145b0e2e387d06dda84476d5b24f126d2
|
|
@ -12,3 +12,5 @@
|
|||
smtpserver = smtp.konmail.net
|
||||
smtpuser = seda18@rolmail.net
|
||||
smtpserverport = 587
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
|
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[submodule "nvim"]
|
||||
path = .config/nvim
|
||||
url = git@github.com:kada49/init.lua.git
|
||||
[submodule ".config/tmux"]
|
||||
path = .config/tmux
|
||||
url = git@github.com:kada49/tmux.conf.git
|
BIN
.local/share/backgrounds/KDE Background 5120x2880.jpg
Executable file
BIN
.local/share/backgrounds/KDE Background 5120x2880.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 4 MiB |
Loading…
Add table
Add a link
Reference in a new issue