update lvim config and other stuff

This commit is contained in:
Victor Martinez 2023-01-23 01:07:59 +01:00
parent ec4c757233
commit 6c7bdda4d9
7 changed files with 34 additions and 22 deletions

View file

@ -67,7 +67,7 @@ window:
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
opacity: 0.9
opacity: 0.7
# Startup Mode (changes require restart)
#
@ -109,7 +109,7 @@ scrolling:
# Font configuration
font:
size: 16.0
size: 16
# Normal (roman) font face
normal:
# Font family

View file

@ -1,5 +0,0 @@
plugin
.init.vim
.luarc.json
lua/sniprun-config/init.lua

View file

@ -1,5 +0,0 @@
# LunarVim configuration
This is my configuration for LunarVim.

View file

@ -13,10 +13,12 @@ vim.o.guifont = "FiraCode Nerd Font Mono:h20"
lvim.use_icons = true
lvim.colorscheme = "tokyonight"
lvim.log.level = "warn"
lvim.format_on_save = true
lvim.transparent_window = false
lvim.format_on_save = { enabled = true }
-- Disable virtual text
lvim.lsp.diagnostics.virtual_text = false
-- to disable icons and use a minimalist setup set this as false
lvim.use_icons = true
--[[
KEYMAPS
@ -42,9 +44,9 @@ lvim.builtin.which_key.mappings["bo"] = {
"<cmd>Telescope buffers previewer=false theme=dropdown initial_mode=normal<CR>",
"Buffers"
}
--[[
BUILTIN PLUGINS
After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
--]]
@ -53,7 +55,7 @@ lvim.builtin.alpha.active = true
lvim.builtin.alpha.mode = "dashboard"
-- Notify
lvim.builtin.notify.active = true
-- lvim.builtin.notify.active = true
-- Terminal
lvim.builtin.terminal.active = false
@ -136,6 +138,12 @@ lvim.builtin.lualine.inactive_sections = {
-- LSP
-- lvim.lsp.automatic_servers_installation = true
-- -- make sure server will always be installed even if the server is in skipped_servers list
-- lvim.lsp.installer.setup.ensure_installed = {
-- "sumneko_lua",
-- "jsonls",
-- }
--[[
ADDITIONAL PLUGINS
@ -148,7 +156,6 @@ local numb = {
}
local colorschemes = {
tokyionight = { "folke/tokyonight.nvim" },
horizon = { "lunarvim/horizon.nvim" }
}
@ -204,7 +211,6 @@ local ts_rainbow = {
lvim.plugins = {
numb,
colorschemes.tokyionight,
rust_tools,
git_fugitive,
ts_rainbow

View file

@ -34,8 +34,21 @@
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
(setq doom-theme 'doom-one)
(use-package doom-themes
:ensure t
:config
;; Global settings (defaults)
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled
(load-theme 'doom-vibrant t)
;; Enable flashing mode-line on errors
(doom-themes-visual-bell-config)
;; or for treemacs users
(setq doom-themes-treemacs-theme "doom-colors") ; use "doom-colors" for less minimal icon theme
(doom-themes-treemacs-config)
;; Corrects (and improves) org-mode's native fontification.
(doom-themes-org-config))
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)
@ -78,3 +91,5 @@
;; they are implemented.
(map! :leader :desc "Fuzzy find file in project" :n "fp" #'project-find-file)

View file

@ -69,7 +69,7 @@
:emacs
dired ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent
;;ibuffer ; interactive buffer management
ibuffer ; interactive buffer management
undo ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree
@ -89,7 +89,7 @@
;;biblio ; Writes a PhD for you (citation needed)
;;debugger ; FIXME stepping through code, to help you add bugs
;;direnv
;;docker
docker
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
@ -127,7 +127,7 @@
(elixir +lsp) ; erlang done right
(elm +lsp) ; care for a cup of TEA?
emacs-lisp ; drown in parentheses
;;erlang ; an elegant language for a more civilized age
erlang ; an elegant language for a more civilized age
;;ess ; emacs speaks statistics
;;factor
;;faust ; dsp, but you get to keep your soul
@ -136,7 +136,7 @@
;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for
;;(go +lsp) ; the hipster dialect
;;(graphql +lsp) ; Give queries a REST
(graphql +lsp) ; Give queries a REST
;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on

View file

@ -8,6 +8,7 @@
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
;(package! some-package)
(package! doom-themes)
;; To install a package directly from a remote git repo, you must specify a
;; `:recipe'. You'll find documentation on what `:recipe' accepts here: