diff options
| -rw-r--r-- | alacritty/.config/alacritty/alacritty.toml | 3 | ||||
| -rw-r--r-- | nvim/.config/nvim/init.lua | 52 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/custom/plugins/tinygo.lua | 6 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/kickstart/plugins/lint.lua | 3 |
4 files changed, 47 insertions, 17 deletions
diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml index e1ab1b0..966b185 100644 --- a/alacritty/.config/alacritty/alacritty.toml +++ b/alacritty/.config/alacritty/alacritty.toml @@ -6,7 +6,8 @@ family = "Dejavu Sans Mono" style = "Regular" [window] -opacity = 0.95 +opacity = 0.85 +startup_mode = "Fullscreen" [window.padding] x = 5 diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 543d1f7..18523e9 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -28,6 +28,8 @@ vim.opt.mouse = 'a' -- Don't show the mode, since it's already in the status line vim.opt.showmode = false +vim.o.winborder = 'rounded' + -- Sync clipboard between OS and Neovim. -- Schedule the setting after `UiEnter` because it can increase startup-time. -- Remove this option if you want your OS clipboard to remain independent. @@ -415,7 +417,9 @@ require('lazy').setup({ opts = { ensure_installed = { 'lua_ls', - 'ansible-language-server', + 'ansible_ls', + 'pyright', + 'yamlls', 'bash-language-server', 'python-lsp-server', 'clangd', @@ -630,15 +634,12 @@ require('lazy').setup({ -- capabilities = {}, settings = { Lua = { - completion = { - callSnippet = 'Replace', - }, - -- You can toggle below to ignore Lua_LS's noisy `missing-fields` warnings - -- diagnostics = { disable = { 'missing-fields' } }, + completion = { callSnippet = 'Replace' }, }, + -- You can toggle below to ignore Lua_LS's noisy `missing-fields` warnings + -- diagnostics = { disable = { 'missing-fields' } }, }, }, - jinja_lsp = {}, } @@ -799,9 +800,25 @@ require('lazy').setup({ completion = { -- By default, you may press `<c-space>` to show the documentation. -- Optionally, set `auto_show = true` to show the documentation after a delay. - documentation = { auto_show = false, auto_show_delay_ms = 500 }, + ghost_text = { + enabled = true, + }, + documentation = { + auto_show = true, + auto_show_delay_ms = 100, + window = { + border = 'rounded', + min_width = 20, + max_height = 30, + max_width = 80, + }, + }, + menu = { + auto_show = true, + min_width = 15, + max_height = 15, + }, }, - sources = { default = { 'lsp', 'path', 'snippets', 'lazydev' }, providers = { @@ -870,7 +887,22 @@ require('lazy').setup({ main = 'nvim-treesitter.configs', -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { - ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'python', 'go' }, + ensure_installed = { + 'bash', + 'c', + 'diff', + 'html', + 'lua', + 'luadoc', + 'markdown', + 'markdown_inline', + 'query', + 'terraform', + 'vim', + 'vimdoc', + 'python', + 'go', + }, -- Autoinstall languages that are not installed auto_install = true, highlight = { diff --git a/nvim/.config/nvim/lua/custom/plugins/tinygo.lua b/nvim/.config/nvim/lua/custom/plugins/tinygo.lua deleted file mode 100644 index 1f4bca6..0000000 --- a/nvim/.config/nvim/lua/custom/plugins/tinygo.lua +++ /dev/null @@ -1,6 +0,0 @@ -return { - { - 'pcolladosoto/tinygo.nvim', - opts = {}, - }, -} diff --git a/nvim/.config/nvim/lua/kickstart/plugins/lint.lua b/nvim/.config/nvim/lua/kickstart/plugins/lint.lua index 907c6bf..a7bc601 100644 --- a/nvim/.config/nvim/lua/kickstart/plugins/lint.lua +++ b/nvim/.config/nvim/lua/kickstart/plugins/lint.lua @@ -7,6 +7,9 @@ return { local lint = require 'lint' lint.linters_by_ft = { markdown = { 'markdownlint' }, + text = { 'vale' }, + json = { 'jsonlint' }, + python = { 'ruff' }, } -- To allow other plugins to add linters to require('lint').linters_by_ft, |
