yippie
This commit is contained in:
parent
eb82e2f016
commit
6dee74d367
4 changed files with 20 additions and 13 deletions
|
|
@ -8,13 +8,12 @@
|
||||||
list = true;
|
list = true;
|
||||||
listchars = "tab:» ,trail:·,multispace:·,lead: ,nbsp:⎕";
|
listchars = "tab:» ,trail:·,multispace:·,lead: ,nbsp:⎕";
|
||||||
|
|
||||||
# when i press tab i want to see spaces
|
# Tab options
|
||||||
expandtab = true;
|
tabstop = 2; # Number of spaces a <Tab> in the text stands for (local to buffer)
|
||||||
tabstop = 4; # Number of spaces that a <Tab> in the file counts for.
|
shiftwidth = 2; # Number of spaces used for each step of (auto)indent (local to buffer)
|
||||||
shiftwidth = 4; # how many spaces are added in an indent
|
softtabstop = 0; # If non-zero, number of spaces to insert for a <Tab> (local to buffer)
|
||||||
softtabstop = 4; # how many spaces are added when pressing tab
|
expandtab = true; # Expand <Tab> to spaces in Insert mode (local to buffer)
|
||||||
smarttab =
|
autoindent = true; # Do clever autoindenting
|
||||||
true; # When on, a <Tab> in front of a line inserts blanks according to 'shiftwidth'. 'tabstop' or 'softtabstop' is used in other places.
|
|
||||||
# TODO: i want to see 4 spaces when i press tab in python and 2 spaces in nix using setlocal
|
# TODO: i want to see 4 spaces when i press tab in python and 2 spaces in nix using setlocal
|
||||||
# is it possible for me to set this per language?
|
# is it possible for me to set this per language?
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,14 @@
|
||||||
todo-comments.enable = true;
|
todo-comments.enable = true;
|
||||||
lualine.enable = true;
|
lualine.enable = true;
|
||||||
|
|
||||||
cmp = {
|
# cmp = {
|
||||||
# TODO read what this does
|
# # TODO read what this does
|
||||||
# basically, it's a completion plugin
|
# # basically, it's a completion plugin
|
||||||
enable = true;
|
# enable = true;
|
||||||
autoEnableSources = true;
|
# autoEnableSources = true;
|
||||||
};
|
# };
|
||||||
|
cmp-nvim-lsp.enable = true;
|
||||||
|
|
||||||
|
|
||||||
oil.enable = true; # shell scripting
|
oil.enable = true; # shell scripting
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./nix.nix
|
./nix.nix
|
||||||
|
./python.nix
|
||||||
];
|
];
|
||||||
plugins.lsp.servers = {
|
plugins.lsp.servers = {
|
||||||
typos_lsp = {
|
typos_lsp = {
|
||||||
|
|
|
||||||
5
plugins/lsp/python.nix
Normal file
5
plugins/lsp/python.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
plugins.lsp.servers.pyright = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue